/* vcard33.css - cardskin.html 디자인 기반 스타일 */

/* 기본 색상 변수 */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #0891B2;
    --text-dark: #333;
    --text-gray: #666;
    --text-light: #66737d;
    --border-color: #efefef;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --bg-gray: #f5f5f5;
    --border-gray: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 6px 16px rgba(0, 0, 0, 0.2);
    --whatsapp-color: #25D366;
    --whatsapp-hover: #20BA5A;
    --transition-base: all 0.3s;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 기본 스타일 */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-weight: 400;
    background: var(--bg-gray);
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    /* 모바일 확대 방지 */
    touch-action: manipulation;
}

/* 텍스트 선택 가능하도록 */
p, span, div, h1, h2, h3, h4, h5, h6, a, label {
    -webkit-user-select: text;
    user-select: text;
}

/* 입력 필드는 텍스트 선택 가능 */
input, textarea, select {
    -webkit-user-select: text;
    user-select: text;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-black {
    color: var(--text-dark) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-gray-200 {
    color: var(--text-light) !important;
}

/* 버튼 스타일 */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s;
}

.btn:focus {
    box-shadow: none !important;
    outline: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: #fff;
}

.btn-primary.active,
.btn-primary:focus,
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* 메인 컨테이너 */
.main-content {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* vCard 컨테이너 */
.vcard-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-radius: 0;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* 헤더 이미지 섹션 (커버) - skin.html 스타일 */
.vcard-container .header-image-section {
    width: 100%;
    height: 300px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.vcard-container .header-image-section .banner-img {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.vcard-container .header-image-section .banner-img img,
.vcard-container .header-image-section .banner-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vcard-container .header-image-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* 기존 스타일 (하위 호환성) */
.banner-section {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    border-bottom: 1px solid var(--border-gray);
}

.banner-img img,
.banner-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curve-img {
    display: none;
}

/* 프로필 섹션 - skin.html 스타일 */
.vcard-container .profile-section {
    padding: 25px 30px;
    padding-top: 80px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-bottom: 5px solid var(--border-color);
    position: relative;
    margin-top: 0;
    background: var(--bg-white);
    z-index: 5;
}

.vcard-container .profile-section .profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: absolute;
    top: -80px;
    left: 30px;
    z-index: 10;
    background: var(--bg-white);
}

.vcard-container .profile-section .profile-info {
    flex: 1;
    margin-top: 10px;
}

.vcard-container .profile-section .profile-info .profile-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.vcard-container .profile-section .profile-info .profile-company {
    font-size: 15px;
    color: var(--text-gray);
    margin: 0 0 15px 0;
}

.vcard-container .profile-section .profile-info .profile-name .profile-job-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
}

/* description 섹션 - vcard32 스타일 참고 */
.vcard-container .profile-section .profile-info .desc {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
}

.vcard-container .profile-section .profile-info .desc p {
    color: var(--text-dark) !important;
    margin: 0;
}

.vcard-container .profile-section .profile-info .description-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.description-text p {
    margin: 4px 0;
    line-height: 1.4;
}

.profile-info p {
    margin: 4px 0;
    line-height: 1.4;
    font-size: 14px;
    color: var(--text-light);
    word-break: keep-all;
}

.vcard-container .profile-section .profile-info .description-text p:last-child {
    margin-bottom: 0 !important;
}

/* 기존 프로필 섹션 스타일 (하위 호환성) */
.profile-section {
    padding: 25px 30px;
    padding-top: 80px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-bottom: 5px solid var(--border-color);
    position: relative;
    margin-top: 0;
    background: var(--bg-white);
    z-index: 5;
}

.profile-section .card {
    background-color: transparent !important;
    border: none;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.profile-section .card .card-img {
    width: 120px;
    height: 120px;
    min-width: 120px;
    border-radius: 50%;
    position: absolute;
    top: -60px;
    left: 30px;
    z-index: 10;
    border: 3px solid var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    background: var(--bg-white);
    overflow: hidden;
}

.profile-section .card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-section .card .card-body {
    flex: 1;
    margin-top: 10px;
    padding: 0;
}

.profile-section .card .card-body .profile-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.profile-section .card .card-body .profile-company {
    font-size: 15px;
    color: var(--text-gray);
    margin: 0 0 15px 0;
}

.profile-section .card .card-body .description-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0 0 15px 0;
}

/* description-text 내부의 p 태그 간격 줄이기 */
.profile-section .card .card-body .description-text p {
    margin: 0 0 2px 0 !important;
    line-height: 1.4 !important;
    padding: 0;
}

.profile-section .card .card-body .description-text p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 575px) {
    .profile-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 80px;
    }

    .profile-section .card {
        flex-direction: column;
        align-items: center;
    }

    .profile-section .card .card-img {
        position: absolute;
        top: -60px;
        left: 50%;
        transform: translateX(-50%);
    }

    .profile-section .card .card-body {
        text-align: center;
        margin-top: 10px;
    }
}

/* 소셜 미디어 아이콘 */
.social-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 15px 0;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: transform 0.2s;
    color: white;
    font-size: 18px;
}

.social-icon:hover {
    transform: scale(1.1);
    text-decoration: none !important;
}

.social-icon:focus,
.social-icon:active {
    text-decoration: none !important;
}

.social-icon.facebook {
    background: #1877F2;
    color: white;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
}

.social-icon.linkedin {
    background: #0077B5;
    color: white;
}

.social-icon.whatsapp {
    background: #25D366;
    color: white;
}

.social-icon.kakaotalk {
    background: #FEE500 !important;
    color: #000000 !important;
}

.social-icon.kakaotalk i {
    color: #000000 !important;
}

.social-icon.twitter {
    background: #101010;
    color: white;
}

.social-icon.youtube {
    background: #FF0000;
    color: white;
}

.social-icon.pinterest {
    background: #E60023;
    color: white;
}

.social-icon.tiktok {
    background: #000000;
    color: white;
}

.social-icon.snapchat {
    background: #FFFC00;
    color: #000000;
}

.social-icon.website {
    background: #4A90E2;
    color: white;
}

.social-icon.reddit {
    background: #FF4500;
    color: white;
}

.social-icon.tumblr {
    background: #000000;
    color: white;
}

/* 기존 소셜 링크 스타일 오버라이드 */
.social-icons a img,
.social-icons a svg,
.social-icons a i.fab,
.social-icons a i.fas {
    display: none;
}

.social-media {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.social-media .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}

/* 연락처 섹션 */
.contact-section {
    padding: 0;
}

.contact-section .contact-table {
    width: 100%;
    border-collapse: collapse;
}

.contact-section .contact-table tr {
    border-bottom: 1px solid var(--border-gray);
}

.contact-section .contact-table tr:last-child {
    border-bottom: none;
}

.contact-section .contact-table td {
    padding: 15px 30px;
    vertical-align: middle;
}

.contact-section .contact-table td:first-child {
    width: 140px;
    min-width: 140px;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
    white-space: nowrap;
}

.contact-section .contact-table td:last-child {
    font-size: 14px;
    color: var(--text-dark);
    text-align: right;
    word-break: keep-all;
    white-space: normal;
    padding-left: 20px;
}

.contact-section .contact-table .contact-icon {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 18px;
    vertical-align: middle;
}

.contact-section .contact-box {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid var(--border-gray);
}

.contact-section .contact-box:last-child {
    border-bottom: none;
}

.contact-section .contact-box .contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--bg-white);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.contact-section .contact-box .contact-icon img {
    width: 24px;
    height: 24px;
}

.contact-section .contact-box .contact-desc {
    flex: 1;
}

.contact-section .contact-box .contact-desc p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.contact-section .contact-box .contact-desc a {
    font-size: 13px !important;
    color: var(--text-light);
    word-break: break-all;
    text-decoration: none;
}

@media (max-width: 575px) {
    .contact-section .contact-table td,
    .contact-section .contact-box {
        padding: 12px 20px;
    }

    .contact-section .contact-table td:first-child {
        width: 120px;
        min-width: 120px;
    }

    .contact-section .contact-table td:last-child {
        text-align: left;
        padding-left: 15px;
    }
}

/* 섹션 헤딩 */
.section-heading {
    margin-bottom: 20px;
}

.section-heading h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    position: relative;
    padding-bottom: 15px;
}

.section-heading.text-start h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-heading.text-end h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-heading.text-center h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Custom Links 섹션 */
.custom-link-section {
    padding: 20px 30px;
    border-top: 5px solid var(--border-color);
}

.custom-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.custom-link a {
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.custom-link a.btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.custom-link a.btn:hover {
    background-color: #0369A1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.custom-link a.text-black {
    color: var(--text-dark);
}

.custom-link a.text-black:hover {
    color: var(--primary-color);
}

@media (max-width: 640px) {
    .custom-link-section {
        padding: 15px 20px;
    }
    
    .custom-link {
        gap: 8px;
    }
    
    .custom-link a {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* QR 코드 섹션 */
.vcard-container .qr-section {
    padding: 30px;
    text-align: center;
    background: var(--bg-light);
    border-top: 5px solid var(--border-color);
}

.vcard-container .qr-section .qr-code-wrapper {
    display: inline-block;
    padding: 20px;
    border: 2px dashed #d0d0d0;
    border-radius: 8px;
    background: var(--bg-white);
    margin-bottom: 15px;
}

.vcard-container .qr-section .qr-code-placeholder {
    width: 150px;
    height: 150px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    border-radius: 4px;
    margin: 0 auto;
}

.vcard-container .qr-section .qr-code-placeholder .qr-code-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.vcard-container .qr-section .qr-code-placeholder .qr-code-img svg {
    width: 100%;
    height: 100%;
    max-width: 150px;
    max-height: 150px;
    display: block;
}

@media (max-width: 640px) {
    .vcard-container .qr-section {
        padding: 20px;
    }
    
    .vcard-container .qr-section .qr-code-wrapper {
        padding: 15px;
    }
    
    .vcard-container .qr-section .qr-code-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .vcard-container .qr-section .qr-code-placeholder .qr-code-img {
        width: 120px;
        height: 120px;
    }
    
    .vcard-container .qr-section .qr-code-placeholder .qr-code-img svg {
        width: 120px;
        height: 120px;
    }
}

/* 기존 qr-code-section 스타일 (하위 호환성) */
.qr-code-section {
    padding: 30px;
    text-align: center;
    background: var(--bg-light);
    border-top: 5px solid var(--border-color);
}

.qr-code-section .qr-code {
    display: inline-block;
    padding: 20px;
    border: 2px dashed #d0d0d0;
    border-radius: 8px;
    background: var(--bg-white);
    margin-bottom: 15px;
    position: relative;
}

.qr-code-section .qr-profile-img {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    background: var(--bg-white);
    overflow: hidden;
    z-index: 10;
}

.qr-code-section .qr-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-code-section .qr-code-img {
    margin-top: 50px;
    height: 120px;
    width: 120px;
    margin-left: auto;
    margin-right: auto;
}

/* 서비스 섹션 */
/* 섹션 타이틀 공통 스타일 */
.services-title,
.review-title,
.gallery-title,
.products-title,
.instagram-title,
.blog-title,
.youtube-title,
.hours-title,
.map-title,
.vcard-container .qr-section .qr-title,
.vcard-container .contact-form-section .contact-form-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.services-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
    position: relative;
    overflow: visible;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    border-radius: 2px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 5px;
    border-radius: 8px;
    transition: background 0.2s;
}

.service-item:hover {
    background: #f9f9f9;
}

.service-icon {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    /* background: #f0f0f0; */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.service-icon a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content {
    flex: 1;
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.service-name a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.service-name a:hover {
    color: var(--primary-color);
}

.service-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    word-break: keep-all;
}

/* 서비스 슬라이더 뷰 */
.services-slider-view {
    padding-bottom: 10px;
}

/* slick이 초기화되기 전 기본 스타일 (slick이 자동으로 스타일 적용) */
.services-slider-view:not(.slick-initialized) {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.services-slider-view:not(.slick-initialized)::-webkit-scrollbar {
    height: 6px;
}

.services-slider-view:not(.slick-initialized)::-webkit-scrollbar-track {
    background: transparent;
}

.services-slider-view:not(.slick-initialized)::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.services-slider-view:not(.slick-initialized) > div {
    min-width: 200px;
    flex-shrink: 0;
}

/* slick 초기화 후 스타일 */
.services-slider-view.slick-initialized > div {
    padding: 0 10px;
}

/* slick 슬라이더 스타일 */
.services-slider-view.slick-initialized .slick-list {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    overflow: visible !important;
    margin: 0;
}

.services-slider-view.slick-initialized .slick-track {
    display: flex;
    align-items: stretch;
}

.services-slider-view.slick-initialized .slick-slide {
    margin: 0 5px;
    height: auto;
}

.services-slider-view.slick-initialized .slick-slide > div {
    height: 100%;
    display: flex;
}

.services-slider-view.slick-initialized .slick-dots {
    bottom: -20px;
    position: relative;
}

.services-slider-view.slick-initialized .slick-dots li {
    margin: 0;
}

.services-slider-view.slick-initialized .slick-dots li button:before {
    font-size: 12px;
    color: #ccc;
    opacity: 1;
}

.services-slider-view.slick-initialized .slick-dots li.slick-active button:before {
    color: var(--primary-color, #333);
    opacity: 1;
}

.services-slider-view .service-card {
    border: 0;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 20px 15px;
    background: var(--bg-white);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: visible;
    min-height: auto;
    margin: 0;
}

.services-slider-view .service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.services-slider-view .service-card .card-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.services-slider-view .service-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.services-slider-view .service-card .card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    text-align: center;
}

.services-slider-view .service-card .card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.services-slider-view .service-card .card-title a:hover {
    color: var(--primary-color);
}

.services-slider-view .service-card .text-gray-100 {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    text-align: center;
    /* 2줄까지 표시하고 나머지는 말줄임표 처리 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

/* 반응형 스타일 */
@media (max-width: 575px) {
    .services-section {
        padding: 20px;
    }

    .services-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .service-item {
        gap: 12px;
    }

    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 20px;
    }

    .service-name {
        font-size: 15px;
    }

    .service-description {
        font-size: 13px;
    }

    .services-slider-view:not(.slick-initialized) > div {
        min-width: 180px;
    }
    
    .services-slider-view.slick-initialized > div {
        padding: 0 5px;
    }
    
    .services-slider-view.slick-initialized .slick-list {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    .services-slider-view.slick-initialized .slick-slide {
        margin: 0 3px;
    }
    
    .services-slider-view.slick-initialized .slick-dots {
        bottom: -15px;
    }
    
    .services-slider-view .service-card {
        padding: 15px 10px;
    }

    .services-slider-view .service-card .card-img {
        width: 60px;
        height: 60px;
    }
}

/* 갤러리 섹션 */
.gallery-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
}

.gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gallery-section .gallery-item,
.gallery-section .gallery-img {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-section .gallery-item:hover,
.gallery-section .gallery-img:hover {
    transform: scale(1.05);
}

.gallery-section .gallery-item img,
.gallery-section .gallery-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 갤러리 파일 아이템 */
.gallery-section .gallery-file-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.gallery-section .gallery-file-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-section .gallery-file-icon {
    font-size: 48px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.gallery-section .gallery-file-item:hover .gallery-file-icon {
    transform: scale(1.1);
}

.gallery-section .gallery-file-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.gallery-section .gallery-file-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    border-radius: 8px;
}

/* 갤러리 비디오 */
.gallery-section .gallery-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 갤러리 오디오 컨테이너 */
.gallery-section .audio-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    padding: 10px;
    box-sizing: border-box;
}

.gallery-section .audio-container .audio-image {
    width: 80%;
    height: auto;
    max-height: 60%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.gallery-section .audio-container .audio-control {
    width: 100%;
    max-width: 100%;
    margin-top: auto;
}

/* 갤러리 유튜브 iframe */
.gallery-section .gallery-youtube-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 갤러리 반응형 */
@media (max-width: 768px) {
    .gallery-section .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .map-section {
        padding: 20px;
    }

    .gallery-section {
        padding: 20px;
    }
    
    .gallery-section .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .gallery-section .audio-container .audio-image {
        width: 70%;
        max-height: 50%;
    }
}

/* 리뷰 섹션 */
.review-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
}


/* .review-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FF6B35;
    border-radius: 2px;
} */

.reviewSwiper {
    padding-bottom: 50px;
    padding-left: 50px;
    padding-right: 50px;
}

.review-card {
    padding: 20px;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-gray);
    height: 100%;
}

.review-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.review-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.review-text {
    flex: 1;
    text-align: center;
}

.review-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.review-content {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp:4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    max-height: calc(1.6em * 35); /* line-height * line-clamp */
}

.reviewSwiper .swiper-button-next,
.reviewSwiper .swiper-button-prev {
    color: var(--primary-color);
    background: #ffffff82;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    top: 50%;
    margin-top: -15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewSwiper .swiper-button-next {
    right: 2px;
}

.reviewSwiper .swiper-button-prev {
    left: 2px;
}

.reviewSwiper .swiper-button-next:after,
.reviewSwiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.reviewSwiper .swiper-button-next:hover,
.reviewSwiper .swiper-button-prev:hover {
    background: #ffffff82;
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
    color: var(--primary-color);
}

.reviewSwiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
    width: 8px;
    height: 8px;
}

.reviewSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* 리뷰 섹션 반응형 스타일 */
@media (max-width: 640px) {
    .reviewSwiper {
        padding-left: 0;
        padding-right: 0;
    }

    .reviewSwiper .swiper-button-next,
    .reviewSwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

    .reviewSwiper .swiper-button-next:after,
    .reviewSwiper .swiper-button-prev:after {
        font-size: 16px;
    }

    .reviewSwiper .swiper-button-next {
        right: 2px;
        top: 150px;
    }

    .reviewSwiper .swiper-button-prev {
        left: 2px;
        top: 150px;
    }

    .review-card-content {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .review-text {
        text-align: left;
    }

    .review-image {
        width: 60px;
        height: 60px;
    }
}

/* 제품 섹션 - skin.html 스타일 참고 */
.map-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
}

.products-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
}

.products-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.product-card {
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-gray);
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px 0;
}

.product-name a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.product-name a:hover {
    color: #357ABD;
    text-decoration: underline;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #0891B2;
    margin: 0 0 10px 0;
}

.product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex: 1;
}

.product-buy-btn-wrapper {
    margin-top: auto;
    text-align: center;
    padding-top: 15px;
}

.product-buy-btn,
.buy-product {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-base);
    display: inline-block;
    text-decoration: none;
}

.product-buy-btn:hover,
.buy-product:hover {
    background: #357ABD;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.view-all-products-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.view-all-products-link:hover {
    color: #357ABD;
    text-decoration: underline;
}

.hidden-product {
    display: none;
}

.product-toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.load-more-btn,
.load-less-btn {
    display: block;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition-base);
}

.load-more-btn:hover,
.load-less-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* 제품 섹션 반응형 스타일 */
@media (max-width: 575px) {
    .products-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-content {
        padding: 15px;
    }
}

/* 영업시간 섹션 */
.hours-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item.today {
    background: #f0f7ff;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 2px 0;
    border-bottom: none;
}

.hours-day {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hours-item.today .hours-day {
    font-weight: 600;
    color: var(--primary-color);
}

.today-badge {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: var(--primary-color);
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}

.hours-time {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 400;
}

.hours-item.today .hours-time {
    color: var(--primary-color);
    font-weight: 600;
}

/* 리뷰/추천 섹션 */
.testimonial-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
}

.testimonial-section .testimonial-card {
    background: var(--bg-light);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition-base);
    height: auto !important;
}

.testimonial-section .testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.testimonial-section .testimonial-card .card-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 2px solid var(--border-gray);
}

.testimonial-section .testimonial-card .card-body {
    text-align: center;
}

.testimonial-section .testimonial-card .card-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.testimonial-section .testimonial-card .card-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* 블로그 섹션 */
.blog-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
    background: var(--bg-white);
}

.blog-slider {
    position: relative;
    padding: 0 10px;
}

/* 슬라이더 리스트와 슬라이드 패딩 조정 */
.blog-slider .slick-list {
    margin: 0 -10px;
    padding: 0 10px;
}

.blog-slider .slick-slide {
    padding: 0 5px;
}

/* Slick 초기화 전에도 블로그 카드가 보이도록 */
.blog-slider:not(.slick-initialized) .blog-card {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 20px;
}

.blog-slider:not(.slick-initialized) .blog-card:last-child {
    margin-bottom: 0;
}

.blog-section .blog-card {
    display: flex;
    flex-direction: row;
    background: #ffffff !important;
    border-radius: 12px;
    overflow: visible;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-gray);
    transition: var(--transition-base);
    height: 180px;
    margin: 0 10px;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Slick 초기화 전에도 텍스트가 보이도록 */
.blog-section .blog-card:not(.slick-slide) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.blog-section .slick-slide .blog-card {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.blog-section .blog-card:hover {
    box-shadow: var(--shadow-md);

}

.blog-section .blog-card-img {
    width: 200px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    border-radius: 12px 0 0 12px;
    z-index: 1;
}

.blog-section .blog-card-img a {
    display: block;
    width: 100%;
    height: 100%;
    transition: var(--transition-base);
}

.blog-section .blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.blog-section .blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-section .blog-card-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: transparent;
    min-width: 0;
    overflow: visible;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1;
}

.blog-section .blog-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #333333 !important;
    margin: 0 0 8px 0;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
    /* 2줄 제한을 위한 스타일 - autoprefixer 호환성 고려 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* autoprefixer: off */
    -webkit-box-orient: vertical;
    /* autoprefixer: on */
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.4em * 2);
    visibility: visible !important;
    opacity: 1 !important;
}

.blog-section .blog-card-title:hover {
    color: #4A90E2 !important;
}

.blog-section .blog-card-content {
    font-size: 14px;
    color: #66737d !important;
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
    /* 3줄 제한을 위한 스타일 - autoprefixer 호환성 고려 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* autoprefixer: off */
    -webkit-box-orient: vertical;
    /* autoprefixer: on */
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.6em * 3);
    visibility: visible !important;
    opacity: 1 !important;
}

/* 블로그 슬라이더 화살표 스타일 - 유튜브 섹션과 동일 */
.blog-section .slick-arrow {
    width: 30px;
    height: 30px;
    background: #ffffff82;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    margin: 0;
}

.blog-section .slick-arrow:before {
    display: none;
}

.blog-section .slick-arrow i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition-base);
}

.blog-section .slick-prev {
    left: -5px;
}

.blog-section .slick-next {
    right: -5px;
}

.blog-section .slick-arrow:hover {
    background: #ffffff82;
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.05);
}

.blog-section .slick-arrow:hover i {
    color: var(--primary-color);
}

@media (max-width: 575px) {
    .blog-section {
        padding: 20px;
    }

    .blog-section .blog-card {
        flex-direction: column;
        height: auto;
        margin: 0;
    }

    .blog-section .blog-card-img {
        width: 100%;
        height: 200px;
    }

    .blog-section .blog-card-body {
        padding: 20px;
    }

    .blog-section .slick-arrow {
        width: 40px;
        height: 40px;
    }

    .blog-section .slick-arrow i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .blog-section .slick-prev {
        left: -5px;
    }

    .blog-section .slick-next {
        right: -5px;
    }
}

/* 블로그 모달 스타일 */
.blog-modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.blog-modal-header {
    border-bottom: 1px solid var(--border-gray, #e0e0e0);
    padding: 20px 30px;
    background: var(--bg-white, #ffffff);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.blog-modal-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-light, #f5f5f5);
    color: var(--text-dark, #333);
    border: 1px solid var(--border-gray, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 500;
}

.blog-modal-nav-btn:hover:not(:disabled) {
    background: var(--primary-color, #4A90E2);
    color: #fff;
    border-color: var(--primary-color, #4A90E2);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.blog-modal-nav-btn:disabled {
    cursor: not-allowed;
    opacity: 0.3;
    background: var(--bg-light, #f5f5f5);
    color: var(--text-light, #999);
}

.blog-modal-nav-btn i {
    font-size: 22px;
}

.blog-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark, #333);
    margin: 0;
    line-height: 1.4;
    text-align: center;
    flex: 1;
    padding: 0 20px;
}

.blog-modal-body {
    padding: 0;
}

.blog-modal-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background: var(--bg-light, #f5f5f5);
}

.blog-modal-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.blog-modal-description {
    padding: 30px;
    color: var(--text-dark, #333);
    font-size: 16px;
    line-height: 1.8;
    background: var(--bg-white, #ffffff);
}

.blog-modal-description p {
    margin-bottom: 16px;
}

.blog-modal-description p:last-child {
    margin-bottom: 0;
}

.blog-modal-footer {
    border-top: 1px solid var(--border-gray, #e0e0e0);
    padding: 20px 30px;
    background: var(--bg-white, #ffffff);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.blog-modal-nav-group-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

.blog-modal-footer .blog-modal-nav-btn {
    width: auto;
    height: auto;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    min-width: 100px;
}

.blog-modal-footer .blog-modal-nav-btn i {
    font-size: 18px;
}

.blog-modal-footer .btn-secondary {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
}


.blog-modal-trigger {
    cursor: pointer;
    transition: opacity 0.2s;
}

.blog-modal-trigger:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .blog-modal-content {
        margin: 10px;
    }

    .blog-modal-header {
        padding: 15px 20px;
        gap: 10px;
    }

    .blog-modal-nav-group {
        gap: 6px;
    }

    .blog-modal-nav-btn {
        width: 40px;
        height: 40px;
    }

    .blog-modal-nav-btn i {
        font-size: 20px;
    }

    .blog-modal-title {
        font-size: 18px;
        padding: 0 10px;
    }

    .blog-modal-description {
        font-size: 14px;
        padding: 20px;
    }

    .blog-modal-image {
        max-height: 250px;
    }

    .blog-modal-footer {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .blog-modal-nav-group-footer {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
        order: 1;
    }

    .blog-modal-footer .btn-secondary {
        order: 2;
        width: 100%;
        padding: 8px 15px;
        font-size: 14px;
    }

    .blog-modal-footer .blog-modal-nav-btn {
        flex: 0 0 auto;
        min-width: 0;
        padding: 8px 15px;
        font-size: 14px;
    }

    .blog-modal-footer .blog-modal-nav-btn {
        flex: 1;
        min-width: 0;
        padding: 8px 15px;
        font-size: 14px;
    }

    .blog-modal-footer .btn-secondary {
        flex: 1;
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* 영업시간 섹션 */
.business-hour-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
}

.business-hour-section .business-hours {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.business-hour-section .business-hours .mb-10 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gray);
}

.business-hour-section .business-hours .mb-10:last-child {
    border-bottom: none;
}

.business-hour-section .business-hours span {
    font-size: 15px;
}

.business-hour-section .business-hours span:first-child {
    font-weight: 500;
    color: var(--text-dark);
}

.business-hour-section .business-hours span:last-child {
    color: var(--text-gray);
}

/* 문의 섹션 */
.vcard-container .contact-form-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
    background: var(--bg-light);
    box-sizing: border-box;
}

.vcard-container .contact-form-section .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.vcard-container .contact-form-section .contact-form input:not([type="checkbox"]):not([type="radio"]),
.vcard-container .contact-form-section .contact-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    font-size: 16px; /* iOS Safari 자동 확대 방지 (최소 16px) */
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
    transition: border-color 0.2s;
    /* 모바일 확대 방지 */
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}

/* 체크박스 스타일 */
.vcard-container .contact-form-section .contact-form input[type="checkbox"] {
    width: auto !important;
    max-width: none !important;
    min-width: 18px;
    height: 18px;
    padding: 0 !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 4px;
    background: var(--bg-white) !important;
    box-sizing: border-box;
    cursor: pointer;
    flex-shrink: 0;
    appearance: checkbox;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    background: #f1f1f1;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 2px 0;
    border-bottom: none;
}

/* 체크박스 라벨 스타일 */
.vcard-container .contact-form-section .contact-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 3px;
    background: #f1f1f1;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 2px 0;
    border-bottom: none;
}

.vcard-container .contact-form-section .contact-form .form-check-label {
    flex: 1;
    cursor: pointer;
    line-height: 1.5;
}

.vcard-container .contact-form-section .contact-form input:not([type="checkbox"]):not([type="radio"]):focus,
.vcard-container .contact-form-section .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.vcard-container .contact-form-section .contact-form input[type="checkbox"]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.vcard-container .contact-form-section .contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.vcard-container .contact-form-section .contact-form button[type="submit"],
.vcard-container .contact-form-section .contact-form .contact-btn.send-btn {
    width: 100%;
    max-width: 100%;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
    transition: var(--transition-base);
}

.vcard-container .contact-form-section .contact-form button[type="submit"]:hover,
.vcard-container .contact-form-section .contact-form .contact-btn.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 기존 스타일 (하위 호환성) */
.contact-us-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
    background: var(--bg-light);
}

.contact-us-section .contact-form form .input-group {
    background-color: var(--bg-white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    height: 50px;
    margin-bottom: 15px;
}

.contact-us-section .contact-form form .input-group .input-group-text {
    background-color: transparent;
    border: 0;
    padding: 12px 15px;
}

.contact-us-section .contact-form form .form-control:not([type="checkbox"]):not([type="radio"]) {
    border: 0;
    border-radius: 8px;
    padding: 12px 15px 12px 0;
    font-size: 16px; /* iOS Safari 자동 확대 방지 (최소 16px) */
    /* 모바일 확대 방지 */
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}

.contact-us-section .contact-form form .form-control:not([type="checkbox"]):not([type="radio"]):focus {
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    outline: none;
    border-color: var(--primary-color);
}

/* contact-us-section 체크박스 스타일 */
.contact-us-section .contact-form form input[type="checkbox"] {
    width: auto !important;
    max-width: none !important;
    min-width: 18px;
    height: 18px;
    padding: 0 !important;
    margin: 0 8px 0 0 !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 4px;
    background: white !important;
    box-sizing: border-box;
    cursor: pointer;
    flex-shrink: 0;
    appearance: checkbox;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
}

.contact-us-section .contact-form form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-us-section .contact-form form .form-check-label {
    flex: 1;
    cursor: pointer;
    line-height: 1.5;
}

.contact-us-section .contact-form form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* 파일 업로드 영역 - 드래그 앤 드롭 스타일 */
.wrapper-file-input {
    margin-bottom: 10px;
}

.file-drop-area {
    position: relative;
    width: 100%;
    min-height: 70px;
    height: 70px;
    border: 2px dashed #b0b0b0;
    border-radius: 12px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
    box-sizing: border-box;
    outline: none;
    user-select: none; /* 텍스트 선택 방지 */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.file-drop-area:hover {
    border-color: var(--primary-color);
    background: #f0f7ff;
}

.file-drop-area.drag-over {
    border-color: var(--primary-color);
    background: #e3f2fd;
    border-style: dashed;
    border-width: 2px;
}

.file-drop-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    width: 100%;
    cursor: pointer;
    pointer-events: none; /* 클릭 이벤트가 부모로 전파되도록 */
}

.file-upload-icon {
    font-size: 24px;
    color: #999;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    pointer-events: none; /* 클릭 이벤트가 부모로 전파되도록 */
}

.file-drop-area:hover .file-upload-icon,
.file-drop-area.drag-over .file-upload-icon {
    color: var(--primary-color);
}

.file-drop-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    pointer-events: none; /* 클릭 이벤트가 부모로 전파되도록 */
}

.file-drop-hint {
    font-size: 11px;
    color: #999;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    pointer-events: none; /* 클릭 이벤트가 부모로 전파되도록 */
}

.file-supported-text {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

/* 선택된 파일 목록 스타일 */
.wrapper-file-section {
    margin-top: 15px;
}

.selected-files {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
}

.selected-files h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

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

.file-list .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 8px;
}

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

.file-list .item .name {
    font-size: 14px;
    color: #333;
    flex: 1;
}

.file-list .item .remove {
    cursor: pointer;
    color: #dc3545;
    padding: 5px;
    transition: color 0.2s;
}

.file-list .item .remove:hover {
    color: #c82333;
}

/* 반응형 스타일 */
@media (max-width: 575px) {
    .file-drop-area {
        min-height: 70px;
        height: 70px;
        padding: 8px 12px;
    }
    
    .file-drop-content {
        gap: 8px;
    }
    
    .file-upload-icon {
        font-size: 20px;
    }
    
    .file-drop-text {
        font-size: 13px;
    }
    
    .file-drop-hint {
        font-size: 10px;
        display: none; /* 모바일에서는 힌트 텍스트 숨김 */
    }
}

/* 예약 섹션 - skin.html 스타일 참고 */
.appointment-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
    position: relative;
}

.appointment-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.appointment {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.appointment-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.appointment-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.appointment-input-group {
    position: relative;
}

.appointment-section .appointment .appointment-input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 45px;
    font-size: 16px; /* iOS Safari 자동 확대 방지 (최소 16px) */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-family: 'Pretendard', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.2s;
    /* 모바일 확대 방지 */
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}

.appointment-section .appointment .appointment-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.appointment-section .appointment .calendar-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    font-size: 18px;
}

.appointment-section .appointment .calendar-icon img {
    display: none;
}

.appointment-section .time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}
@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 auto;
        width: auto;
    }
}
.appointment-section .time-slot {
    padding: 5px 5px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: keep-all;
    line-height: 1.5;
    position: relative;
}

.appointment-section .time-slot:hover {
    border-color: var(--primary-color);
    background: #f8fbff;
    color: var(--primary-color);
}

.appointment-section .activeSlot {
    background: #E3F2FD !important;
    color: #1976D2 !important;
    border-color: #90CAF9 !important;
    font-weight: 500;
}

.appointment-section .activeSlot::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #1976D2;
    border-radius: 50%;
}

.appointment-section .time-slot.disabled {
    background: #f9f9f9;
    color: #bbb;
    cursor: not-allowed;
    opacity: 0.5;
    border-color: #e5e5e5;
}

.appointment-section .time-slot.disabled:hover {
    background: #f9f9f9;
    border-color: #e5e5e5;
    color: #bbb;
}

.appointment-submit {
    width: 100%;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
    transition: var(--transition-base);
    margin-top: 10px;
}

.appointment-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.appointment-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* 예약 섹션 반응형 스타일 */
@media (max-width: 575px) {
    .appointment-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .appointment-section .time-slots {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .appointment-section .time-slot {
        padding: 14px 12px;
        font-size: 13px;
        min-height: 55px;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .appointment-section .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 유튜브 iframe 섹션 */
.youtube-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
}

.youtube-slider {
    position: relative;
}

.youtube-item {
    padding: 0 5px;
}

.youtube-card {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 비율 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    background: #000;
    transition: var(--transition-base);
}

.youtube-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(0px);
}

.youtube-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* 인스타그램 섹션 */
.instagram-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
}

.instagram-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.insta-toggle {
    margin-bottom: 30px;
}

.instagram-tab-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.instagram-tab-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
    width: 100%;
    max-width: 120px;
    padding-bottom: 0;
}

.instagram-tab-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8px 20px 12px;
    flex: 1;
    min-width: 50px;
}

.instagram-tab-btn i {
    font-size: 24px;
    transition: all 0.3s ease;
    display: block;
    line-height: 1;
}

.instagram-tab-btn.active i {
    color: var(--primary-color);
}

.instagram-tab-btn:not(.active) i {
    color: #666666;
}

.instagram-tab-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px 2px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-tab-btn.active .instagram-tab-indicator {
    opacity: 1;
}

.instagram-tab-divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-gray);
    margin-top: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.instagram-tab-btn:hover:not(.active) i {
    color: #999999;
}

.instagram-tab-btn.active:hover i {
    color: #357ABD;
}

.insta-feed {
    position: relative;
}

.instagram-section .insta-feed-iframe {
    margin-bottom: 20px;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
}

.instagram-section .insta-feed-iframe iframe,
.instagram-section .insta-feed-iframe blockquote {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    display: block !important;
    min-height: 400px !important;
    max-height: 800px !important;
}

.instagram-section .insta-feed-iframe {
    min-height: 400px;
    max-height: 800px;
    overflow: hidden;
}

/* Swiper 슬라이더 스타일 (인스타그램 피드) */
.instagram-section .instagramPostSwiper,
.instagram-section .instagramReelSwiper {
    position: relative;
    width: 100%;
    padding: 0 50px 50px;
}

.instagram-section .instagramPostSwiper .swiper-slide,
.instagram-section .instagramReelSwiper .swiper-slide {
    height: auto;
    min-height: 400px;
    display: flex;
    align-items: flex-start;
}

.instagram-section .instagramPostSwiper .swiper-button-next,
.instagram-section .instagramPostSwiper .swiper-button-prev,
.instagram-section .instagramReelSwiper .swiper-button-next,
.instagram-section .instagramReelSwiper .swiper-button-prev {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.instagram-section .instagramPostSwiper .swiper-button-next:hover,
.instagram-section .instagramPostSwiper .swiper-button-prev:hover,
.instagram-section .instagramReelSwiper .swiper-button-next:hover,
.instagram-section .instagramReelSwiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.instagram-section .instagramPostSwiper .swiper-button-next::after,
.instagram-section .instagramPostSwiper .swiper-button-prev::after,
.instagram-section .instagramReelSwiper .swiper-button-next::after,
.instagram-section .instagramReelSwiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.instagram-section .instagramPostSwiper .swiper-pagination,
.instagram-section .instagramReelSwiper .swiper-pagination {
    bottom: 10px;
    position: relative;
    margin-top: 20px;
}

.instagram-section .instagramPostSwiper .swiper-pagination-bullet,
.instagram-section .instagramReelSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.instagram-section .instagramPostSwiper .swiper-pagination-bullet-active,
.instagram-section .instagramReelSwiper .swiper-pagination-bullet-active {
    background: #333;
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 640px) {
    .instagram-section .instagramPostSwiper,
    .instagram-section .instagramReelSwiper {
        padding: 0 40px 50px;
    }
    
    .instagram-section .instagramPostSwiper .swiper-button-next,
    .instagram-section .instagramPostSwiper .swiper-button-prev,
    .instagram-section .instagramReelSwiper .swiper-button-next,
    .instagram-section .instagramReelSwiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .instagram-section .instagramPostSwiper .swiper-button-next::after,
    .instagram-section .instagramPostSwiper .swiper-button-prev::after,
    .instagram-section .instagramReelSwiper .swiper-button-next::after,
    .instagram-section .instagramReelSwiper .swiper-button-prev::after {
        font-size: 14px;
    }
}

.instagram-section .insta-post-slider .slick-slide > div,
.instagram-section .insta-reel-slider .slick-slide > div {
    width: 100%;
    box-sizing: border-box;
    height: auto !important;
}

.instagram-section .insta-post-slider .slick-list,
.instagram-section .insta-reel-slider .slick-list {
    height: auto !important;
    min-height: 400px;
    transition: height 0.3s ease;
}

.instagram-section .insta-post-slider .slick-track,
.instagram-section .insta-reel-slider .slick-track {
    display: flex;
    align-items: flex-start;
    height: auto !important;
}

.instagram-section .insta-post-slider .slick-slide,
.instagram-section .insta-reel-slider .slick-slide {
    height: auto !important;
    min-height: 400px;
}

.instagram-section .insta-slider-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #ddd !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.instagram-section .insta-slider-arrow:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.instagram-section .insta-slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.instagram-section .insta-slider-arrow i {
    font-size: 18px !important;
    color: #333 !important;
    line-height: 1 !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.instagram-section .insta-slider-arrow i.fa-chevron-left,
.instagram-section .insta-slider-arrow i.fa-chevron-right {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.instagram-section .insta-slider-arrow .arrow-fallback {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #333 !important;
    line-height: 1 !important;
    font-family: Arial, sans-serif !important;
    display: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.instagram-section .insta-slider-arrow .arrow-fallback.show {
    display: inline-block !important;
}

.instagram-section .slick-prev.insta-slider-arrow::after,
.instagram-section .slick-next.insta-slider-arrow::after {
    display: none !important;
    content: '' !important;
}

.instagram-section .insta-slider-arrow i:empty::after,
.instagram-section .insta-slider-arrow:not(:has(i))::after {
    display: block !important;
}

.instagram-section .slick-prev.insta-slider-arrow {
    left: -5px !important;
}

.instagram-section .slick-next.insta-slider-arrow {
    right: -5px !important;
}

.instagram-section .slick-prev:not(.insta-slider-arrow),
.instagram-section .slick-next:not(.insta-slider-arrow) {
    display: none !important;
}

.instagram-section .slick-prev.insta-slider-arrow:before,
.instagram-section .slick-next.insta-slider-arrow:before {
    display: none !important;
}

.instagram-section .slick-prev.insta-slider-arrow:after,
.instagram-section .slick-next.insta-slider-arrow:after {
    display: none !important;
}

.instagram-section .nav-tabs {
    border-bottom: none;
}

.instagram-section .nav-tabs .nav-link {
    border: none;
    border-bottom: none;
    padding: 0;
    color: var(--text-gray);
    transition: all 0.3s;
}

.instagram-section .nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: none;
    background: transparent;
}

.instagram-section .nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border: none;
}

.instagram-section .tab-content {
    margin-top: 20px;
}

@media (max-width: 575px) {
    .instagram-section {
        padding: 20px 10px;
    }
    
    .instagram-section .insta-feed {
        margin-top: 15px;
    }
    
    .instagram-section .insta-feed-iframe {
        padding: 0;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .instagram-section .insta-feed-iframe iframe,
    .instagram-section .insta-feed-iframe blockquote {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .instagram-section .insta-post-slider,
    .instagram-section .insta-reel-slider {
        padding: 0 45px;
        width: 100%;
        margin: 0;
    }
    
    .instagram-section .insta-post-slider .slick-slide,
    .instagram-section .insta-reel-slider .slick-slide {
        padding: 0;
    }
    
    .instagram-section .insta-post-slider .slick-list,
    .instagram-section .insta-reel-slider .slick-list {
        margin: 0;
        padding: 0;
    }
    
    .instagram-section .insta-post-slider .slick-track,
    .instagram-section .insta-reel-slider .slick-track {
        display: flex;
        align-items: stretch;
    }
    
    .instagram-section .insta-slider-arrow {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        z-index: 1000 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: absolute !important;
    }
    
    .instagram-section .insta-slider-arrow i {
        font-size: 16px !important;
        color: #333 !important;
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .instagram-section .insta-slider-arrow .arrow-fallback {
        font-size: 18px !important;
    }
    
    .instagram-section .insta-slider-arrow .arrow-fallback.show {
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .instagram-section .slick-prev.insta-slider-arrow {
        left: -5px !important;
    }
    
    .instagram-section .slick-next.insta-slider-arrow {
        right: -5px !important;
    }
    
    .instagram-section .insta-feed-iframe {
        min-height: 350px;
        max-height: 700px;
        overflow: hidden;
    }
    
    .instagram-section .insta-feed-iframe .instagram-media {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        min-height: 350px !important;
        max-height: 700px !important;
    }
    
    .instagram-section .insta-feed-iframe iframe[src*="instagram.com"],
    .instagram-section .insta-feed-iframe iframe {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        min-height: 350px !important;
        max-height: 700px !important;
    }
    
    .instagram-section .insta-feed-iframe blockquote {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 350px !important;
        max-height: 700px !important;
    }
    
    .instagram-section .insta-post-slider .slick-slide,
    .instagram-section .insta-reel-slider .slick-slide {
        min-height: 350px;
    }
    
    .instagram-section .insta-slider-arrow {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

/* 유틸리티 클래스 */
.px-40 {
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 575px) {
    .px-40 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.px-30 {
    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 575px) {
    .px-30 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.pt-40 {
    padding-top: 40px;
}

.pb-40 {
    padding-bottom: 40px;
}

.pt-60 {
    padding-top: 60px;
}

.pb-60 {
    padding-bottom: 60px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-10 {
    margin-bottom: 10px;
}

.fs-14 {
    font-size: 14px;
}

.fs-18 {
    font-size: 18px;
}

.fs-20 {
    font-size: 20px;
}

.fs-24 {
    font-size: 24px;
}

.fw-5 {
    font-weight: 500;
}

.fw-6 {
    font-weight: 600;
}

/* 플로팅 액션 버튼 - skin.html 스타일 */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.fab-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition-base);
}

.fab-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.fab-button.secondary {
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    pointer-events: none;
}

.fab-button.secondary.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fab-button.secondary#whatsappActionBtn.show {
    background-color: var(--whatsapp-color);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.fab-button.secondary#whatsappActionBtn.kakaotalk.show {
    background-color: #FEE500 !important;
    color: #000000 !important;
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.4);
}

.fab-button.secondary#whatsappActionBtn.kakaotalk.show i {
    color: #000000 !important;
}

.fab-button.secondary#whatsappActionBtn {
    transition: var(--transition-smooth);
}

/* WhatsApp 번호 입력 UI */
.fab-whatsapp-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: bottom;
}

.fab-whatsapp-input {
    position: absolute;
    right: 0;
    bottom: -6px;
    background: var(--bg-white);
    border-radius: 50px;
    padding: 5px 12px;
    box-shadow: var(--shadow-md);
    min-width: 280px;
    max-width: calc(100vw - 120px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%) scaleX(0);
    transform-origin: right center;
    transition: var(--transition-smooth);
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
    border: 2px solid var(--whatsapp-color);
    display: flex;
    align-items: center;
}

.fab-whatsapp-wrapper.expanded .fab-whatsapp-input {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scaleX(1);
    pointer-events: auto;
}

.fab-whatsapp-wrapper.expanded #whatsappActionBtn {
    transform: translateX(-240px);
    background-color: var(--whatsapp-color);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.fab-whatsapp-wrapper.expanded #whatsappActionBtn.kakaotalk {
    background-color: #FEE500 !important;
    color: #000000 !important;
    box-shadow: 0 4px 12px rgba(254, 229, 0, 0.4);
}

.fab-whatsapp-wrapper.expanded #whatsappActionBtn.kakaotalk i {
    color: #000000 !important;
}

.fab-whatsapp-input .icon-search-container {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    width: 100%;
}

.fab-whatsapp-input .wp-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    margin-right: 8px;
}

.fab-whatsapp-input .search-input {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 12px 15px;
    font-size: 16px; /* iOS Safari 자동 확대 방지 (최소 16px) */
    outline: none;
    background: transparent;
    transition: var(--transition-base);
    min-width: 0;
    /* 모바일 확대 방지 */
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}

/* Number input 스피너 숨기기 */
.fab-whatsapp-input .search-input[type="number"]::-webkit-inner-spin-button,
.fab-whatsapp-input .search-input[type="number"]::-webkit-outer-spin-button,
.fab-whatsapp-input .search-input[type="tel"]::-webkit-inner-spin-button,
.fab-whatsapp-input .search-input[type="tel"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.fab-whatsapp-input .search-input[type="number"],
.fab-whatsapp-input .search-input[type="tel"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.fab-whatsapp-input .search-input:focus {
    background: rgba(37, 211, 102, 0.05); /* 포커스 시 약간의 배경색 */
}

.fab-whatsapp-input .search-input::placeholder {
    color: #999;
}

.fab-whatsapp-input .share-wp-btn-div {
    display: none;
    margin-left: 8px;
}

.fab-whatsapp-input .share-wp-btn-div.show {
    display: block;
}

.fab-whatsapp-input .share-wp-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--whatsapp-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.fab-whatsapp-input .share-wp-btn:hover {
    background: var(--whatsapp-hover);
    transform: scale(1.1);
}

/* RTL 지원 */
.fab-container.rtl {
    right: auto;
    left: 30px;
}

.fab-container.rtl .fab-whatsapp-input {
    right: auto;
    left: 48px;
    transform: translateX(-100%) scaleX(0);
    transform-origin: left center;
}

.fab-container.rtl .fab-whatsapp-wrapper.expanded .fab-whatsapp-input {
    transform: translateX(0) scaleX(1);
}

.fab-container.rtl .fab-whatsapp-wrapper.expanded #whatsappActionBtn {
    transform: translateX(280px);
}

/* 스티키 버튼 섹션 */
.btn-section {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.btn-section .fixed-btn-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.btn-section .fixed-btn-section .bars-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s;
}

.btn-section .fixed-btn-section .bars-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-section .fixed-btn-section .sub-btn {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.btn-section .fixed-btn-section .sub-btn.d-none {
    display: none !important;
}

.btn-section .fixed-btn-section .sub-btn .sub-btn-div {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.btn-section .fixed-btn-section .sub-btn .social-btn,
.btn-section .fixed-btn-section .sub-btn .vcard32-sticky-btn,
.btn-section .fixed-btn-section .sub-btn .wp-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    border: none;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 0;
}

.btn-section .fixed-btn-section .sub-btn.show .social-btn,
.btn-section .fixed-btn-section .sub-btn.show .vcard32-sticky-btn,
.btn-section .fixed-btn-section .sub-btn.show .wp-btn,
.btn-section .fixed-btn-section .sub-btn.show .icon-search-container,
.btn-section .fixed-btn-section .sub-btn.show .vcard32-btn-group,
.btn-section .fixed-btn-section .sub-btn.show .stickyIcon {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-section .fixed-btn-section .sub-btn.show .vcard32-btn-group {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-section .fixed-btn-section .sub-btn .icon-search-container {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.btn-section .fixed-btn-section .sub-btn .vcard32-btn-group {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.btn-section .fixed-btn-section .sub-btn .stickyIcon {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.btn-section .fixed-btn-section .sub-btn .social-btn:hover,
.btn-section .fixed-btn-section .sub-btn .vcard32-sticky-btn:hover,
.btn-section .fixed-btn-section .sub-btn .wp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-section .fixed-btn-section .sub-btn.show .social-btn:hover,
.btn-section .fixed-btn-section .sub-btn.show .vcard32-sticky-btn:hover,
.btn-section .fixed-btn-section .sub-btn.show .wp-btn:hover {
    transform: translateY(0) scale(1.1);
}

/* 연락처 추가 버튼 */
.add-to-contact-section {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.add-to-contact-section .add-contact-btn {
    min-width: 140px;
    height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    background: #1e262d;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.add-to-contact-section .add-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background: #333;
}

/* 반응형 스타일 - 모바일 (640px 이하) */
@media (max-width: 640px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .vcard-container,
    .main-content {
        margin: 0 auto;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .header-image-section,
    .banner-section {
        height: 300px;
    }
    
    .vcard-container .profile-section,
    .profile-section {
        margin-top: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 80px;
    }
    
    .vcard-container .profile-section .profile-image,
    .profile-image {
        position: absolute;
        top: -80px;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 0;
    }
    
    .vcard-container .profile-section .profile-info,
    .profile-info {
        text-align: center;
        margin-top: 10px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .section-heading h2 {
        font-size: 16px;
    }
}

/* 슬라이더 스타일 */
.slick-dots {
    bottom: -30px;
    text-align: center;
}

.slick-dots li button:before {
    color: var(--primary-color);
    font-size: 12px;
}

.slick-dots li.slick-active button:before {
    color: var(--primary-color);
    opacity: 1;
}

/* 기본 slick arrow 스타일 - 유튜브 섹션과 동일 */
.slick-arrow {
    width: 30px;
    height: 30px;
    background: #ffffff82;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    margin: 0;
}

.slick-arrow:before {
    display: none;
}

.slick-arrow i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition-base);
}

.slick-arrow:hover {
    background: #ffffff82;
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.05);
}

.slick-arrow:hover i {
    color: var(--primary-color);
}

/* 유튜브 섹션 전용 화살표 스타일 - 첨부 이미지 스타일 */
.youtube-section .slick-arrow {
    width: 30px;
    height: 30px;
    background: #ffffff82;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    margin: 0;
}

.youtube-section .slick-arrow:before {
    display: none;
}

.youtube-section .slick-arrow i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition-base);
}

.youtube-section .slick-prev {
    left: -5px;
}

.youtube-section .slick-next {
    right: -5px;
}

.youtube-section .slick-arrow:hover {
    background: #ffffff82;
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.05);
}

.youtube-section .slick-arrow:hover i {
    color: var(--primary-color);
}

/* RTL 지원 */
.main-content.rtl {
    direction: rtl;
}

.main-content.rtl .profile-section .card .card-img {
    left: auto;
    right: 30px;
}

@media (max-width: 575px) {
    .main-content.rtl .profile-section .card .card-img {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

/* WhatsApp 입력 필드 및 인스타그램 섹션 반응형 */
@media (max-width: 640px) {
    .fab-whatsapp-input {
        min-width: 240px;
        max-width: calc(100vw - 100px);
        padding: 5px 10px;
        bottom: -3px;
    }
    
    .fab-whatsapp-wrapper.expanded #whatsappActionBtn {
        transform: translateX(-224px);
    }
    
    .fab-container.rtl .fab-whatsapp-wrapper.expanded #whatsappActionBtn {
        transform: translateX(240px);
    }
    
    .fab-whatsapp-input .icon-search-container {
        gap: 8px;
    }
    
    .fab-whatsapp-input .search-input {
        font-size: 16px; /* iOS Safari 자동 확대 방지 (최소 16px) */
        padding: 6px 10px;
    }
    
    .youtube-section {
        padding: 20px;
    }

    .youtube-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .youtube-section .slick-arrow {
        width: 40px;
        height: 40px;
    }

    .youtube-section .slick-arrow:before {
        font-size: 16px;
        line-height: 40px;
    }

    .youtube-section .slick-prev {
        left: -5px;
    }

    .youtube-section .slick-next {
        right: -5px;
    }

    .instagram-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .instagram-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .insta-toggle {
        margin-bottom: 20px;
    }

    .instagram-tab-wrapper {
        max-width: 100px;
    }

    .instagram-tab-btn {
        padding: 10px 16px;
    }

    .instagram-tab-btn i {
        font-size: 22px !important;
    }

    .instagram-tab-indicator {
        width: 40px;
        height: 2.5px;
    }
}

/* 추가 스타일 */
.object-fit-cover {
    object-fit: cover;
}

.cursor-pointer {
    cursor: pointer;
}

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

.text-start {
    text-align: left;
}

.text-end {
    text-align: right;
}

/* 모달 스타일 */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.modal {
    z-index: 99999 !important;
}

/* 모달 열릴 때 스크롤바로 인한 레이아웃 이동 방지 */
body.modal-open {
    padding-right: 0 !important;
    overflow: hidden !important;
}

/* 스크롤바 너비 계산 및 적용을 위한 유틸리티 클래스 */
body.scrollbar-gutter {
    scrollbar-gutter: stable;
}

/* 지원 배너 */
.support-banner {
    position: relative;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 30px;
    margin: 0;
    border-top: 5px solid var(--border-color);
    text-align: center;
}

.support-banner.hidden {
    display: none;
}

.banner-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s;
    padding: 0;
}

.banner-close:hover {
    background: var(--bg-gray);
    color: var(--text-dark);
}

.support_heading {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 10px;
}

.support_text {
    font-size: 14px;
    margin: 0 0 20px 0;
    color: var(--text-light);
    line-height: 0.8;
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.act-now {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.act-now:hover,
.act-now:focus,
.act-now:active {
    background: var(--secondary-color);
    color: white;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
    transform: translateY(-1px);
}

.act-now:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(74, 144, 226, 0.2);
}

/* 공유 모달 - skin.html 스타일 */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.share-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.share-modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.share-modal-overlay.active .share-modal {
    transform: scale(1);
}

.share-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.share-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-close-btn:hover {
    color: #333;
}

.share-options {
    padding: 10px;
}

.share-option-item {
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}

.share-option-item:hover {
    background: #f5f5f5;
}

.share-option-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-option-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.share-option-label {
    font-size: 15px;
    color: #333;
}

.share-url-section {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.share-url-input-group {
    display: flex;
    gap: 10px;
}

.share-url-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
}

.share-copy-btn {
    padding: 10px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
}

.share-copy-btn i {
    font-size: 20px;
}

.share-copy-btn:hover {
    background: #0369A1;
}

/* 토스트 메시지 - 오른쪽 상단 표시 */
.toast {
    position: fixed;
    top: calc(20px + env(safe-area-inset-top, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    min-width: 280px;
    max-width: calc(90vw - 32px);
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    z-index: 10002;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    pointer-events: none;
    word-wrap: break-word;
    word-break: keep-all;
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.toast.success {
    background: rgba(26, 26, 26, 0.95);
    border-left: 4px solid var(--primary-color);
}

/* 에러 메시지 스타일 */
.toast.error {
    background: rgba(220, 53, 69, 0.95);
    border-left: 4px solid #dc3545;
}

/* 모바일 반응형 */
@media (max-width: 640px) {
    .toast {
        top: calc(16px + env(safe-area-inset-top, 0px));
        right: calc(12px + env(safe-area-inset-right, 0px));
        left: calc(12px + env(safe-area-inset-left, 0px));
        min-width: auto;
        max-width: calc(100vw - 24px);
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 8px;
    }
}

/* 매우 작은 화면 (iPhone SE 등) */
@media (max-width: 375px) {
    .toast {
        top: calc(12px + env(safe-area-inset-top, 0px));
        right: calc(8px + env(safe-area-inset-right, 0px));
        left: calc(8px + env(safe-area-inset-left, 0px));
        max-width: calc(100vw - 16px);
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* 언어 선택 드롭다운 */
.language-btn {
    z-index: 100;
}

.language {
    position: relative;
}

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

.language ul .lang-list {
    background: rgb(74 144 226 / 52%);
    border-radius: 5px;
    outline: none;
    padding: 5px 9px;
}

.language ul .lang-list:hover {
    background: rgba(74, 144, 226, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}

.language ul .lang-list .lang-head {
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language ul .lang-list .lang-head i {
    color: #fff !important;
    font-size: 18px;
}

.language ul .lang-list .lang-hover-list {
    background: var(--bg-white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-size: 15px;
    left: unset !important;
    margin: 10px 0 0;
    min-width: 180px;
    right: 0;
    width: auto;
    padding: 8px 0;
    z-index: 1000;
}

.language ul .lang-list .lang-hover-list li {
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.language ul .lang-list .lang-hover-list li:hover {
    background-color: #f0f7ff !important;
}

.language ul .lang-list .lang-hover-list li:hover a {
    color: var(--primary-color) !important;
}

.language ul .lang-list .lang-hover-list li.active {
    background-color: #e3f2fd !important;
}

.language ul .lang-list .lang-hover-list li.active a {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.language ul .lang-list .lang-hover-list li a {
    color: #333 !important;
    font-size: 14px !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease;
}

.language ul .lang-list .lang-hover-list li img,
.language-flag-img {
    height: 24px !important;
    width: 32px !important;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
    padding: 1px;
}

/* 반응형 스타일 */
@media (max-width: 575px) {
    .language ul .lang-list {
        padding: 8px 14px;
    }
    
    .language ul .lang-list .lang-head {
        font-size: 13px;
    }
    
    .language ul .lang-list .lang-hover-list {
        min-width: 160px;
        font-size: 14px;
    }
    
    .language ul .lang-list .lang-hover-list li {
        padding: 6px 12px;
    }
    
    .language ul .lang-list .lang-hover-list li img {
        height: 20px !important;
        width: 28px !important;
    }
}

/* 지도 영역 */
.vcard-container .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
}

.vcard-container .container .d-flex {
    width: 100%;
}

.vcard-container .container .m-2 {
    width: 100%;
    padding: 0 8px;
}

.vcard-container .container iframe {
    width: 100% !important;
    height: 300px !important;
    border: none;
    display: block;
    border-radius: 10px;
}

/* 제휴 활성화 섹션 */
.create-vcard-section {
    padding: 30px;
    border-top: 5px solid var(--border-color);
}

.create-vcard-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.vcard-link-card {
    background: var(--bg-light);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition-base);
}

.vcard-link-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.vcard-link-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcard-link-text {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    word-break: break-all;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.vcard-link-text:hover {
    color: var(--primary-color);
}

.vcard-link-text i {
    font-size: 16px;
    margin-left: 8px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* 제휴 섹션 반응형 스타일 */
@media (max-width: 575px) {
    .support-banner {
        padding: 20px;
    }
    
    .banner-close {
        top: 10px;
        right: 10px;
        width: 20px;
        height: 20px;
        font-size: 18px;
    }
    
    .support_heading {
        font-size: 16px;
    }
    
    .support_text {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .act-now {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .create-vcard-section {
        padding: 20px;
    }
    
    .create-vcard-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .vcard-link-card {
        padding: 15px;
    }
    
    .vcard-link-text {
        font-size: 13px;
    }
}

/* 제품 구매 모달 - 결제 방법 버튼 스타일 (템플릿 컬러셋 적용) */
.payment-method-buttons {
    margin-top: 10px;
    gap: 10px;
}

.payment-method-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    font-weight: 400;
    font-size: 14px;
    transition: var(--transition-base);
    border: 1px solid var(--border-gray) !important;
    background-color: var(--bg-white) !important;
    color: var(--text-dark) !important;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    box-shadow: none;
}

.payment-method-btn:hover {
    border-color: var(--primary-color) !important;
    background-color: rgba(74, 144, 226, 0.05) !important;
    color: var(--primary-color) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.payment-method-btn.active,
.payment-method-btn.payment-selected {
    border: none !important;
    background: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
}

.payment-method-btn.active:hover,
.payment-method-btn.payment-selected:hover {
    background: #357ABD !important;
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.4);
    transform: translateY(-2px);
}

.payment-method-btn i.payment-icon {
    font-size: 18px;
    margin-right: 6px;
    transition: color 0.2s ease;
}

.payment-method-btn.active i.payment-icon,
.payment-method-btn.payment-selected i.payment-icon {
    color: #fff !important;
}

@media (max-width: 576px) {
    .payment-method-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .payment-method-btn {
        width: 100%;
        min-width: auto;
        padding: 12px 16px;
    }
}

/* 수동 결제 가이드 영역 스타일 */
.manual-payment-guide {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}

.manual-payment-guide p,
.manual-payment-guide div,
.manual-payment-guide span {
    color: var(--text-dark);
    line-height: 1.6;
}

.manual-payment-guide h1,
.manual-payment-guide h2,
.manual-payment-guide h3,
.manual-payment-guide h4,
.manual-payment-guide h5,
.manual-payment-guide h6 {
    color: var(--text-dark);
    margin-top: 0;
}

@media (max-width: 576px) {
    .manual-payment-guide {
        padding: 15px;
    }
}

/* 뉴스레터 팝업 모달 스타일 - vcard33 템플릿에 맞춤 */
#newsLatterModal .modal-dialog {
    max-width: 450px;
    margin: 2rem auto;
}

#newsLatter-content {
    border: none;
    border-radius: 20px;
    background: var(--bg-white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    backdrop-filter: blur(10px);
    position: relative;
}

#newsLatter-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px 20px 0 0;
}

.newsmodal-header {
    position: relative;
    padding: 2rem 2rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(8, 145, 178, 0.05) 100%);
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.newsmodal-header .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(74, 144, 226, 0.2);
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 10;
}

.newsmodal-header .btn-close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.newsmodal-header .btn-close:focus {
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.newsmodal-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 0;
    text-shadow: 0 2px 4px rgba(74, 144, 226, 0.1);
    animation: pulse 2s infinite;
}

.newsmodal-title i {
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 4px rgba(74, 144, 226, 0.3));
}

#newsLatterModal .modal-body {
    padding: 2rem;
    background: var(--bg-white);
}

#newsLatterModal .content {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#newsLatterModal .modal-desc {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-gray);
    margin: 0 0 2rem 0;
    line-height: 1.5;
    opacity: 0.8;
}

#newsLatterForm {
    max-width: 100%;
}

#newsLatterForm .input-group {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: var(--bg-white);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

#newsLatterForm .input-group:focus-within {
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

#newsLatterForm .form-control {
    border: none;
    border-radius: 0;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    background: var(--bg-white);
    color: var(--text-dark);
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    transition: all 0.3s ease;
    flex: 1;
}

#newsLatterForm .form-control:focus {
    box-shadow: none;
    background: var(--bg-white);
    color: var(--text-dark);
}

#newsLatterForm .form-control::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

#newsLatterForm .btn {
    border: none;
    border-radius: 0;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

#newsLatterForm .btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

#newsLatterForm .btn:active {
    transform: translateX(0);
}

#newsLatterForm .btn i {
    transition: transform 0.3s ease;
}

#newsLatterForm .btn:hover i {
    transform: scale(1.1);
}

/* 애니메이션 효과 */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* 모달 오버레이 스타일 */
#newsLatterModal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* 모달 애니메이션 */
#newsLatterModal .modal-dialog {
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    0% {
        transform: translateY(-50px) scale(0.95);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* 반응형 디자인 */
@media (max-width: 576px) {
    #newsLatterModal .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }

    .newsmodal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .newsmodal-title {
        font-size: 2.5rem;
    }

    #newsLatterModal .modal-body {
        padding: 1.5rem;
    }

    #newsLatterModal .content {
        font-size: 1.25rem;
    }

    #newsLatterModal .modal-desc {
        font-size: 0.9rem;
    }

    #newsLatterForm .form-control {
        padding: 0.75rem 0.875rem;
        font-size: 0.95rem;
    }

    #newsLatterForm .btn {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
}