@charset "utf-8";

:root {
    --primary: #2FB5DA;
}

/* 템플릿 공통 *********************************/


/* 템플릿 리스트 *********************************/
.template-list-wrap {
    padding: 120px 0;
}

/* 🎯 타이틀 영역 */
.template-list-wrap .template-page-heading {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeUp 0.8s ease;
}

.template-list-wrap .template-page-heading h1 {
    font-size: 36px;
    color: #2c2c2c;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: 500;
}

.template-list-wrap .template-page-heading h1 strong {
    color: var(--primary);
}

.template-list-wrap .template-page-heading p {
    font-size: 18px;
    color: #666;
}

/* 📂 카테고리 필터 */
.template-list-wrap .template-category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 40px;
    max-width: 1000px;
    animation: fadeUp 1.2s ease;
}

.template-list-wrap .template-category-filter a {
    padding: 10px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: all 0.2s;
    text-decoration: none;
}

.template-list-wrap .template-category-filter a:hover {
    background: #f1f5ff;
    border-color: #3a5cf4;
    color: #3a5cf4;
}

.template-list-wrap .template-category-filter a.on {
    background: #1a202c;
    color: #fff;
    border-color: transparent;
}

.template-filter-wrap {
    max-width: 1154px;
    margin: 0 auto 24px;
}

/* 🔍 검색 영역 */
.template-list-wrap .template-search-wrap {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.template-list-wrap .template-search-form {
    margin-bottom: 20px;
    margin: 0 auto;
    max-width: 702px;

}

.template-list-wrap .template-search-input-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 3px solid var(--primary);
    border-radius: 60px;
    padding: 0 20px;
    height: 64px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    max-width: 100%;
}

.template-list-wrap .template-search-input-box .search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 0 10px;
    height: 100%;
    background: transparent;
}

.template-search-input-box:focus-within {
    box-shadow: none !important;
}

.template-list-wrap .template-search-input-box .search-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.template-list-wrap .template-search-input-box .icon-btn {
    background: none;
    border: none;
    color: #3a5cf4;
    margin-left: 10px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.2s;
}

.template-list-wrap .template-search-input-box .icon-btn img {
    width: 24px;
}

.template-list-wrap .template-search-input-box .icon-btn:hover {
    background: rgba(199, 199, 199, 0.1);
}

.template-list-wrap .template-search-input-box .reset-btn {
    transform: rotate(0deg);
    transition: transform 0.2s;
}

.template-list-wrap .template-search-input-box .reset-btn:hover {
    transform: rotate(180deg);
}

/* ✅ 페이드 업 애니메이션 */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.template-search-wrap .search-input.animate {
    animation: fadeUp 0.6s ease;
}

/* 💬 인기 키워드 박스 */
.template-list-wrap .popular-keyword-box {
    margin-top: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    animation: fadeUp 0.4s ease;
}

.template-list-wrap .popular-keywords {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.template-list-wrap .popular-keywords li {
    background: #f3f6ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #3366cc;
    cursor: pointer;
    transition: background 0.2s;
}

.template-list-wrap .popular-keywords li:hover {
    background: #e0ebff;
}

/* 🎯 필터 */
.template-list-wrap .template-type-filter {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.template-list-wrap .template-type-filter a {
    font-size: 14px;
    color: #444;
    text-decoration: none;
    font-weight: 500;
}

.template-list-wrap .template-type-filter a.on {
    color: #1a73e8;
    font-weight: bold;
}

/* 🧩 카드 리스트 */
.template-list-wrap .template-grid {
    max-width: 1200px;
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.template-list-wrap .template-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease;
    position: relative;
    box-shadow: 5px 38px 90px rgba(100, 100, 100, 0.1);
}

.template-list-wrap .template-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.template-list-wrap .template-thumb {
    position: relative;
}

.template-list-wrap .template-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
}

.template-list-wrap .template-badge.category {
    background-color: #3a88f4;
}

.template-list-wrap .template-badge.free {
    background-color: #3a88f4;
}

.template-list-wrap .template-badge.paid {
    background-color: #e53e3e;
}

.template-list-wrap .template-info {
    padding: 16px;
}

.template-list-wrap .template-info h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.template-list-wrap .template-info p {
    font-size: 14px;
    color: #555;
}

.template-list-wrap .view-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: #0070f3;
    text-decoration: none;
}

/* ❌ 검색 결과 없음 */
.template-list-wrap .template-empty-box {
    text-align: center;
    padding: 100px 20px;
    background: #f9f9f9;
    border-radius: 12px;
    grid-column: 1 / -1;
}

.template-list-wrap .template-empty-box .message {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.template-list-wrap .template-empty-box .cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: #0072ff;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.template-list-wrap .template-empty-box .cta-button:hover {
    background: #005ce0;
}

/* 📝 등록 버튼 */
.template-list-wrap .template-write-btn-box {
    text-align: right;
    margin: 40px auto 0;
    max-width: 1200px;
    padding: 0 20px;
}

.template-list-wrap .template-write-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1a73e8;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.template-list-wrap .template-write-btn:hover {
    background-color: #0f5bd8;
}

.template-filter-wrap #filterModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px;
    background: #fff;
    z-index: 9999;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.template-filter-wrap .template-section__filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    font-size: 18px;
}

.template-filter-wrap .template-section__filter-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.template-filter-wrap .template-section__filter-content {
    max-height: 50vh;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.template-filter-wrap .template-section__category {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    background: #f9f9f9;
    padding: 20px;
}










.template-filter-wrap .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* ✅ 2열 자동 배치 */
    gap: 12px 20px;
    max-height: calc((40px + 12px) * 2);
    /* ✅ row 2줄만 제한 */
    overflow-y: auto;
}

/* 체크박스 항목 */
.template-filter-wrap .checkbox-wrap {
    display: flex;
    align-items: center;
    cursor: default;
}


.template-filter-wrap .checkbox-wrap input[type="checkbox"],
.template-filter-wrap .checkbox-wrap span {
    cursor: pointer;
}

.template-filter-wrap .checkbox-wrap input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-block;
}

.template-filter-wrap .checkbox-wrap input[type="checkbox"]:checked {
    background-color: #0076ff;
    border-color: #0076ff;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 20 20' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.629 14.314a1 1 0 01-1.414 0L3.05 11.15a1 1 0 111.415-1.414l2.45 2.45 7.07-7.071a1 1 0 111.415 1.414l-8.77 8.785z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}

.template-filter-wrap .template-section__category .checkbox-wrap:nth-child(odd) {
    margin-right: 4%;
}

.template-filter-wrap .template-section__category-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
}

.template-filter-wrap .template-section__category label {
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 2px;
}

.template-filter-wrap .template-section__category input[type="checkbox"] {
    margin-right: 6px;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
}

.template-filter-wrap .template-section__category input[type="checkbox"]:checked {
    border-color: #0b73e5;
    background-color: #0b73e5;
}

.template-filter-wrap .template-section__category input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 4px;
    font-size: 14px;
    color: #fff;
}

.template-filter-wrap .template-section__filter-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.template-filter-wrap .template-section__filter-footer {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

.template-filter-wrap .template-section__filter-reset,
.template-filter-wrap .template-section__filter-apply {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.template-filter-wrap .template-section__filter-reset {
    background: #f0f0f0;
    color: #333;
}

.template-filter-wrap .template-section__filter-apply {
    background: var(--primary);
    color: #fff;
}

.template-filter-wrap .template-section__dim,
.template-filter-wrap .template-filter-dim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    backdrop-filter: blur(1px);
}

.template-filter-wrap .filter-btn-dflx {
    display: flex;
    gap: 10px;
}

.template-filter-wrap .filter-btn-dflx .filter-btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #555;
    color: #555;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.template-filter-wrap .filter-btn.last {
    border: 2px solid #e2e2e2;
}

.template-filter-wrap .filter-btn:hover {
    background: #c5192d;
    color: #fff;
}

.template-filter-wrap .filter-btn-dflx .filter-btn:hover {
    background: #f8f8f8;
    color: #555;
}

.template-filter-wrap .template-section__filter-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 520px;
    background: #fff;
    z-index: 9999;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}

.template-filter-wrap .template-section__filter-header {
    padding: 16px 20px;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.template-filter-wrap .template-section__filter-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.template-filter-wrap .filter-tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-height: calc(50vh - 120px);
}

.template-filter-wrap .color-type .checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.template-filter-wrap .color-type .color-chip {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 4px;
}

.template-filter-wrap .filter-top {
    width: 100%;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
}

.template-filter-wrap .filter-top .top-dflx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px 8px 8px 16px;
    background: #f9f9f9;
    border-radius: 4px;
}

.template-filter-wrap .total {
    font-size: 18px;
    font-weight: 600;
}

.template-filter-wrap .total strong {
    color: var(--primary);
    font-weight: bold;
}

.template-filter-wrap .filter-selected-bar {
    display: none;
    /* 초기엔 숨김 */
    justify-content: space-between;
    align-items: center;
    background: #f7f8fa;
    padding: 10px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

.template-filter-wrap .filter-selected-bar .template-section__selected-filters {
    display: flex;
    gap: 8px;
}

.template-filter-wrap .filter-selected-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.template-filter-wrap .filter-tag {
    background: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    color: #555;
}

.template-filter-wrap .filter-tag button {
    background: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
}

.template-filter-wrap .filter-reset-btn {
    background: none;
    border: none;
    color: #222;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.selected-filters .filter-tag {
    background: #f0f0f0;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.selected-filters .filter-tag .remove-tag {
    background: none;
    border: none;
    margin-left: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.template-list-wrap .template-thumb {
    height: 230px;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    border: 1px solid #eee;
    transition: transform 0.8s ease;
}

.template-list-wrap .template-thumb:hover {
    transform: scale(1.01);
}

.template-list-wrap .template-thumb img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1.2s ease;
}

.template-card .template-price {
    margin: 8px 0;
    font-size: 15px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.template-card .template-price .final {
    font-weight: bold;
    color: #1a73e8;
}

.template-card .template-price .original {
    text-decoration: line-through;
    color: #aaa;
    font-size: 14px;
}

.template-card .template-price .free {
    font-weight: bold;
    color: #4CAF50;
}

/* ✅ 템플릿 리스트용 페이지네이션 */
.template-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    font-size: 15px;
}

.template-pagination a,
.template-pagination span {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.template-pagination .current {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    font-weight: bold;
}

.template-pagination a:hover {
    background-color: #e6f0ff;
    border-color: #007bff;
    color: #007bff;
}

.template-pagination a.active {
    background: #222;
    color: #fff;
    font-weight: bold;
    border-color: #222;
}

/* 템플릿 상세 *********************************/
.template-view {
    padding: 100px 0 100px;
    margin: 0 auto;
}

.template-view .template-view__layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1440px;
    margin: 0 auto;
}

.template-view .template-view__layout .view-thumb-wrap {
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    border-radius: 8px;
    width: 58%;
}

.template-view .template-view__layout .template-view__info {
    width: 40%;
}

.template-view .template-view__layout .template-view__info .view-top-dflx {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.template-view .preview_wrap {
    margin: 0 auto;
    max-width: 1400px;
    height: 504px;
    overflow-y: scroll;
    position: relative;
    border: 2px solid #fff;
}

.template-view .template-view__preview img {
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.template-view .template-view__info {
    flex: 1;
    min-width: 320px;
}

.template-view .template-view__title {
    font-size: 22px;
}

.template-view .template-view__title .template-code {
    color: #999;
    text-transform: uppercase;
}

.template-view .template-view__price-wrap {
    position: relative;
    background: #fdfdfd;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-top: 24px;
    border: 1px solid #eee;
}

.template-view .template-view__price-wrap .price-dflx {
    display: flex;
    flex-direction: column;
}

.template-view .template-view__price-wrap .estimate_btn {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.template-view .template-view__price-wrap .estimate_btn a {
    display: flex;
    align-items: center;
    color: #fff;
    background: #355396;
    padding: 8px 12px;
    font-size: 13px;
}

.template-view__info .sns-share {
    display: flex;
}

.template-view__info .sns-share li:first-child {
    margin-right: 8px;
}

.template-view__info .sns-share li button,
.template-view__info .sns-share li a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-view__info .sns-share li img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.template-view__info .sns-share li:hover img {
    opacity: 1;
}

.template-view__info .copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-view__info .copy-toast.show {
    display: block;
    opacity: 1;
}

.template-view .template-view__price-original {
    text-decoration: line-through;
    color: #ccc;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 4px;
}

.template-view__price-final .discount-percent {
    color: var(--primary);
}

.template-view .template-view__price-final .final-dflx {
    font-size: 24px;
    font-weight: bold;
}

.template-view .template-view__options {
    margin: 24px 0;
}

.template-view .template-view__options li {
    font-size: 15px;
    line-height: 1.8;
    display: flex;
}

.template-view .template-view__options li strong {
    display: inline-block;
    width: 80px;
    margin-right: 10px;
}

.template-view .template-view__btns {}

.template-view .btn {
    padding: 16px 0;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
}


.template-view .template-view__btns .dflx-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 30px;
}

.template-view .template-view__btns .dflx-btn .left {
    width: 100%;
    margin-bottom: 8px;
}

.template-view .template-view__btns .dflx-btn .left {
    display: flex;
}

.template-view .template-view__btns .dflx-btn .left a {
    white-space: nowrap;
    width: 100%;
    display: block;
}

.template-view .template-view__btns .dflx-btn .right {
    width: 100%;
}

.template-view .template-view__btns .dflx-btn .right a {
    width: 100%;
}


.template-view .btn-outline {
    border: 1px solid #b2b2b2;
    background: #fff;
    color: #333;
}

.template-view .btn-black {
    background: #000;
    color: #fff;
}

.template-view .circle {
    height: 24px;
    align-items: center;
    display: flex;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.template-view .circle ul {
    display: flex;
    padding-left: 10px;
}

.template-view .circle ul li {
    background-color: #d3d3d3;
    border-radius: 50%;
    height: 6px;
    width: 6px;
    display: block;
}

.template-view .circle ul li:not(:last-child) {
    margin-right: 6px;
}

.template-view.device-desktop {
    margin: 0 auto;
    max-width: 1400px;
    height: 472px;
    overflow-y: scroll;
    position: relative;

    border-radius: 8px;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}

.template-view .device {
    display: inline-block;
    position: relative;
}

.template-view__options .bnn-list {
    margin-top: 20px;
}

.template-view__options .bnn-item {

    border-radius: 4px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    color: #333;
}

.template-view__options .bnn-item.bnn2 {
    background: #e6f8ff;
}

.template-view__options .bnn-item.bnn1 {
    background: #fff1e6;
}

.template-view__options .bnn-item:not(:last-child) {
    margin-bottom: 8px;
}

.template-view__options .bnn-item .title-dflx {
    display: flex;
    align-items: center;
}

.template-view__options .bnn-item .emoji {
    display: inline-block;
    margin-right: 4px;
}

.template-view__options .bnn-item .bnn-link {
    margin-left: 20px;
    color: #1a2b44;
    font-weight: bold;
    text-decoration: underline;
    font-size: 14px;
}

.template-view .template-view__detail {
    margin-top: 100px;
}

.template-view .template-view__detail .sec1 {
    padding: 100px 0;
    background: #f8f8f9;
}

.template-view__detail .benefit-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding: 150px 0;
    max-width: 1440px;
    margin: 0 auto;
}

.template-view__detail .benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
}

.template-view__detail .benefit-item.reverse {
    flex-direction: column-reverse;
}

.template-view__detail .benefit-item .img-box {
    text-align: right;
}

.template-view__detail .benefit-item .img-box img {
    max-width: 85%;
    height: auto;
}

.template-view__detail .benefit-item.reverse .img-box {
    text-align: left;
}

.template-view__detail .benefit-item .text-box {
    max-width: 540px;
    text-align: center;
}

.template-view__detail .benefit-item .text-box .tag {
    color: #1a73e8;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.template-view__detail .benefit-item .text-box .title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.template-view__detail .benefit-item .text-box .desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* CTA 버튼 공통 스타일 */
.template-view__detail .btn-cta {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #1a73e8;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

/* 호버 효과 */
.template-view__detail .btn-cta:hover {
    background-color: #155ab6;
    color: #fff;
}

.benefit-loop {
    display: flex;
    align-items: center;
    /* 세로 가운데 정렬 */
    justify-content: space-between;
    gap: 60px;
}

.benefit-loop .img-box {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.benefit-loop .img-box > div {
    max-width: 100%;
}

.benefit-loop.reverse .img-box {
    align-items: flex-start;
    justify-content: flex-start;
}

.benefit-loop .text-box {
    flex: 1;
}

.benefit-loop .feature-list {
    margin-top: 20px;
}

.benefit-loop .feature-list li {
    counter-increment: step;
    position: relative;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    display: flex;
    gap: 20px;
    height: 60px;
    cursor: pointer;
}

.benefit-loop .feature-list li:not(:last-child) {
    margin-bottom: 40px;
}

.benefit-loop .feature-list li.active {
    opacity: 1;
}

.benefit-loop .feature-list li > .text-line h2 {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 8px;
}

.benefit-loop .feature-list li > .text-line p {
    color: #555;
}

.benefit-loop .progress-wrap {
    width: 4px;
    height: 100%;
    background: #ddd;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.benefit-loop .progress-wrap .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    max-height: 100%;
    background: #0066ff;
    transition: height 4s linear;
}

.benefit-loop .feature-list li span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}


.free-edit-ops-wrap {
    max-width: 1440px;
    margin: 0 auto;
}

.free-edit-ops-wrap .tit {
    margin-bottom: 24px;
}

.free-edit-ops-wrap .tit h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.free-edit-ops-wrap .tit p {
    font-size: 13px;
    color: #555;
}

.dflx-item-list {
    display: flex;
    gap: 10px;
}

.dflx-item-wrap {
    padding: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    background: #fff;
    border-radius: 12px;
}

.dflx-item-wrap:not(:last-child) {
    margin-bottom: 24px;
}

.free-edit-ops-grid {
    width: 60%;
    margin-right: 50px;
    
}

.dflx-item-wrap h3 {
    font-weight: 500;
    margin-bottom: 16px;
}

.free-edit-dflx {
    display: flex;
    justify-content: space-between;
}

.free-edit-ops-wrap .free-edit-ops-item {
    background: #f5f5f5;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
    
}

.free-edit-ops-wrap .free-edit-ops-item.red {
    background: #ffe5e5;
    color: #d60000;
    font-weight: bold;
}

.free-edit-ops-wrap .free-edit-ops-item.highlight {
    background: #fff3e0;
    color: #d85400;
    font-weight: bold;
}

.free-edit-ops-wrap .free-edit-ops-card {
    flex: 1 1 35%;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.free-edit-ops-wrap .free-edit-ops-card img {
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 16px;
}

.free-edit-ops-wrap .free-edit-ops-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.free-edit-ops-wrap .free-edit-ops-card p {
    font-size: 14px;
    color: #555;
}

.free-edit-ops-wrap .free-edit-ops-item.active {
  background: #333;
  color: #fff;
  font-weight: 600;
}

/* 상담문의 모달 컨텐츠 */
.request_wrap .dim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transition: all .2s;
    opacity: 0;
    visibility: hidden;
    background: rgb(0, 0, 0, .6);
    z-index: 11;
}

.request_wrap .dim.show {
    opacity: 1;
    visibility: visible;
}

.request_wrap .con {
    overflow: hidden;
    border-radius: 20px;
    padding: 36px 24px;
    background: #fff;
    width: 420px;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    transition: all .6s;
    z-index: 12;
}

.request_wrap .con.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.request_wrap .con .info {
    position: relative;
    padding-bottom: 16px;
}

.request_wrap .con .info h2 {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 12px;
}

.request_wrap .con .info p {
    font-size: 16px;
    color: #888;
}

.request_wrap .con .info p strong {
    color: #888;
    font-weight: 400;
}

.request_wrap .con .info p span {
    text-transform: uppercase;
    color: #FF450D;
}

.request_wrap .con .info .cls_btn {
    position: absolute;
    top: 0;
    right: 0;
}

.request_wrap .con .info .cls_btn em {
    color: #888;
}

.request_wrap .form_wrap .form_item:first-child {
    margin-bottom: 12px;
}

.request_wrap .form_wrap .frm_input {
    overflow: hidden;
    display: -webkit-box;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 0;
    height: 64px;
    font-size: 15px;
    padding: 0 20px;
    line-height: 25px;
    width: 100%;
    white-space: 100%;
    max-height: 64px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 4px;
}

.request_wrap .form_wrap .btn_sbm .btn_submit {
    display: inline-block;
    height: 64px;
    line-height: 25px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 17px;
    border: 0;
    background: #111;
    color: #fff;
    cursor: pointer;
    width: 100%;
}


.request_wrap .form_wrap .agree_chk {
    max-width: 100%;
    margin: 12px 0 24px;
}

.request_wrap .form_wrap .agree_chk .agree_chk_box {
    font-size: 14px;
    color: #333;
    position: relative;
    text-align: left;
    letter-spacing: -0.5px;
    margin-top: 20px;
}

.request_wrap .form_wrap .agree_chk .agree_chk_box input[type=checkbox] {
    display: none
}

.request_wrap .form_wrap .agree_chk .agree_chk_box label {
    vertical-align: baseline;
    align-items: center;
    color: #111;
    font-size: 14px;
    display: flex;
}

.request_wrap .form_wrap .agree_chk .agree_chk_box > label > a.privacy_info {
    color: #111;
    text-decoration: underline;
    padding-right: 4px;
}

#bot_nav {
    position: fixed;
    left: 0;
    bottom: -100%;
    right: 0;
    background: #1f4a5d;
    height: 90px;
    width: 100%;
    transition: all .6s;
    opacity: 0;
    visibility: hidden;
    z-index: 11;
}

#bot_nav .inner {
    height: 100%;
    padding: 0 100px;
}

#bot_nav.on {
    bottom: 0;
    opacity: 1;
    visibility: visible;
}

#bot_nav .inner .dflx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#bot_nav .inner .dflx .left .info {
    display: flex;
    align-items: center;
}

#bot_nav .inner .dflx .left .info .temp_info {}

#bot_nav .inner .dflx .left .info .temp_info h2 {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

#bot_nav .inner .dflx .left .info .temp_info h2 span {
    color: #FF450D;
    text-transform: uppercase;
}

#bot_nav .inner .dflx .left .info .prc_info p {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

#bot_nav .inner .dflx .left .info .prc_info p span {
    text-decoration: line-through;
    color: #fff;
    opacity: .5;
    font-size: 14px;
    font-weight: bold;
    padding-right: 4px;
}


#bot_nav .inner .dflx .right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#bot_nav .inner .dflx .right .nav_btn {
    display: flex;
}

#bot_nav .inner .dflx .right .nav_btn > a {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 20px;
}

#bot_nav .inner .dflx .right a span {
    padding-right: 4px;
}

#bot_nav .inner .dflx .right a span.gg_icon {
    font-variation-settings:
        'FILL'0,
        /* '1' 배경색 채워짐 */
        'wght'300,
        /* stroke 굵기 */
        'GRAD'0,
        /* 두께*/
        'opsz'24
        /* 옵티컬사이즈 */
}

#bot_nav .inner .dflx .right a.nav_list_btn {
    margin-right: 14px;
    color: #fff;
}

#bot_nav .inner .dflx .right a:nth-child(2) {
    color: #fff;
    font-weight: 700;
}



@media (min-width: 992px) {
    .template-view__detail .benefit-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .template-view__detail .benefit-item.reverse {
        flex-direction: row-reverse;
    }

    .template-view__detail .benefit-item .text-box {
        text-align: left;
    }

    .template-view__detail .benefit-item .text-box .title {
        font-size: 40px;
    }
}
