@charset "utf-8"; /* [Reference] Pixel to Rem Converter */ /* 템플릿 포인트 컬러 설정 */ :root { --point-color: #32c0b6; /* 메인 강조 색상 */ --point-hover-color: #119a90; /* 메인 강조 호버 색상 */ --point-border-color: #119a90; --point-color-light: #8fd2cd; /* 배경용 연한 색상 */ --point-color-dark: #119a90; /* 배경용 진한 색상 */ --point-text-color: #32c0b6; /* 포인트 컬러 글자색 */ --text-on-point: #ffffff; /* 포인트 컬러 글자색 */ --text-on-white-point: #ffffff; /* 포인트 컬러 위의 흰색 글자색 */ --gradient-color-bar: linear-gradient(to right, var(--point-color), var(--point-color), #b142d6, #f12d85) 1; /* 포인트 그라데이션 색상 */ --text-total-price-color: #dd0d00; /* 결제금액 색상 */ --text-discount-color: #247de9; /* 할인금액 색상 */ --text-link-color: #32c0b6; /* 텍스트링크 색상 */ --text-coupon-color: #dd0d00; /* 텍스트쿠폰 색상 */ --product-thumb-radius: 6px; /* 상품이미지 라운드 처리 */ } /* 초기화 */ a { color: #666; text-decoration: none; } a:hover { color: #333; text-decoration: none; } ul li { list-style: none; } legend { display: none; } fieldset { border: 0; margin: 0; padding: 0; } button[type="submit"] { color: inherit; font: inherit; margin: 0; border: 0; background: none; -webkit-appearance: button; } b, strong {font-weight:600;} /* custom */ .hide { display: none !important; } .transition { -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease; -ms-transition: all 0.2s ease; -o-transition: all 0.2s ease; transition: all 0.2s ease; } /* 소셜버튼 */ .ui.facebook.color.button { background: #3b5998; color: #fff; } .ui.twitter.color.button { background: #00aced; color: #fff; } .ui.google.color.button { background: #d34836; color: #fff; } /* 모달창 */ .ui.dimmer { background-color: rgba(0, 0, 0, .6); } .ui.modal>.header { background:none; color: #333; padding:20px 20px; border-bottom: 0; font-family: "Pretendard Variable", "Pretendard", -apple-system, sans-serif !important; } .ui.modal>.header .title { font-weight: 700; } /* 닫기 X 는 배경이미지로 그린다 */ .ui.modal>.close { width: 24px; height: 24px; top:20px !important; right:20px !important; color: rgba(255, 255, 255, 1); font-size: 0 !important; background: url('/theme/site/giftwiki/giftwiki/mobile/assets/css/../images/common_icon_big_close.png') no-repeat center center; } .ui.modal .actions>.button:not(.fluid) { margin-left: .25em; } /* 커스텀 모달창 */ .ui.modal.custom>.content { margin: 10px 20px 0px; padding: 20px; width: auto; background: #f8f8f8; } .ui.modal.custom>.actions { padding: 20px 0; text-align: center; background: none; border-top: 0px; } /* 알림창 */ .ui.alerts { position: fixed; z-index: 2060; padding: 22px; max-width: 500px; top: 20px; right: 20px; cursor: default; } .ui.alerts .progress { position: absolute; left: 0; bottom: 0; width: 100%; } .ui.alerts .progress .bar { min-width: 1px; } @media (min-width:500px) { .ui.alerts { max-width: 90%; } } /* 수량버튼 */ .ui.quantity button { cursor: pointer; } .ui.quantity button:active { background: #eee; } .ui.quantity button .icon { margin: 0 -.11428571em 0 -.11428571em !important; } .ui.quantity input { font-weight: bold; text-align: center; border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 0; border-right: 0; } /* 파일 업로드 */ .ui.file input[type="file"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } .ui.file .text { width: auto !important; min-width: 150px; margin-right: 3px !important; } .ui.divider:not(.vertical):not(.horizontal) { border-top: 1px solid rgba(34, 36, 38, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); } /* divder css 오류수정 */ .ui.horizontal.divider:before, .ui.horizontal.divider:after { top: 0; } /***** semantic ui custom *****/ /* Pagination 페이징버튼 */ /* 페이징 래퍼(전 페이지 공용) */ .centered.grid.pagination { margin: 8px 0 0; justify-content: center; } /* 컬럼 풀폭 + 텍스트중앙 → 인라인 메뉴박스 자체를 중앙에 */ .centered.grid.pagination > .column { width: 100%; text-align: center; } .centered.grid.pagination .ui.pagination.menu { flex-wrap: wrap; justify-content: center; box-shadow: none; } .centered.grid.pagination .ui.pagination.menu .item { margin-bottom: 3px; } .ui.pagination {margin:1rem 0;} .ui.pagination.menu { margin: 0em; display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; vertical-align: middle; border: 0; box-shadow: none; background: transparent; } /* item 공통 규칙 */ .ui.pagination.menu .item { min-width: 2em; margin: 0 2px; padding: .76857143em 1.00285714em .75857143em; font-size: 1rem; color: #777; text-align: center; border: 1px solid #eee; background: #fff; } .ui.pagination.menu .item:last-child, .ui.pagination.menu .item:first-child { border-radius: 0; } .ui.pagination.menu .item:last-child:before { display: none; } .ui.pagination.menu .item:before { width: 0; background: none; } .ui.pagination.menu .item:hover { color: #222; border-color: #ccc; background: #fff; } .ui.pagination.menu .icon.item i.icon { vertical-align: top; font-size: 0.6875rem; } /* Active */ .ui.pagination.menu .active.item { border: 1px solid #222; padding-top: .76857143em; background-color: #fff; color: #222; -webkit-box-shadow: none; box-shadow: none; } /* 모바일: 페이징 버튼이 넘치면 줄바꿈되도록 */ @media (max-width: 767px) { .ui.pagination.menu, .ui.tiny.pagination.menu { flex-wrap: wrap; justify-content: center; row-gap: 6px; } } .ui.dropdown .menu { margin: 0em; padding: 0em 0em; background: #FFFFFF; font-size: 1em; text-shadow: none; text-align: left; border-radius: 0 !important; border-color: rgba(34, 36, 38, 0.25); } /* Active */ .ui.selection.active.dropdown { border-color: #333; } .ui.selection.active.dropdown .menu { border-color: #333; border-radius:0 0 .28571429rem .28571429rem !important; } /* Focus */ .ui.selection.dropdown:hover, .ui.selection.dropdown:focus { border-color: #333 !important; } .ui.selection.dropdown:focus .menu { border-color: #333 !important; } /* Visible */ .ui.selection.visible.dropdown>.text:not(.default) { font-weight: normal; color: rgba(0, 0, 0, 0.8); } /* Visible Hover */ .ui.selection.active.dropdown:hover { border-color: #333; } .ui.selection.active.dropdown:hover .menu { border-color: #333; } .ui.form input:not([type]), .ui.form input[type="date"], .ui.form input[type="datetime-local"], .ui.form input[type="email"], .ui.form input[type="number"], .ui.form input[type="password"], .ui.form input[type="search"], .ui.form input[type="tel"], .ui.form input[type="time"], .ui.form input[type="text"], .ui.form input[type="file"], .ui.form input[type="url"] { font-family: "Pretendard Variable", "Pretendard", -apple-system, sans-serif !important; margin: 0em; outline: none; -webkit-appearance: none; tap-highlight-color: rgba(255, 255, 255, 0); line-height: 1.21428571em; padding: 0.67857143em 1em; font-size: 1em; background: #FFFFFF; border: 1px solid #ccc; color: rgba(0, 0, 0, 0.87); -webkit-box-shadow: 0em 0em 0em 0em transparent inset; box-shadow: 0em 0em 0em 0em transparent inset; -webkit-transition: color 0.1s ease, border-color 0.1s ease; transition: color 0.1s ease, border-color 0.1s ease; } /* Focus */ .ui.form input:not([type]):focus, .ui.form input[type="date"]:focus, .ui.form input[type="datetime-local"]:focus, .ui.form input[type="email"]:focus, .ui.form input[type="number"]:focus, .ui.form input[type="password"]:focus, .ui.form input[type="search"]:focus, .ui.form input[type="tel"]:focus, .ui.form input[type="time"]:focus, .ui.form input[type="text"]:focus, .ui.form input[type="file"]:focus, .ui.form input[type="url"]:focus { color: rgba(0, 0, 0, 0.95); border: 1px solid #333 !important; border-radius: 0.28571429rem; background: #FFFFFF; -webkit-box-shadow: 0px 0em 0em 0em rgba(0, 0, 0, 0.35) inset; box-shadow: 0px 0em 0em 0em rgba(0, 0, 0, 0.35) inset; } .ui.input.focus>input, .ui.input>input:focus { border-color: #aaa; background: #FFFFFF; color: rgba(0, 0, 0, 0.8); -webkit-box-shadow: none; box-shadow: none; } .ui.input.focus>input::-webkit-input-placeholder, .ui.input>input:focus::-webkit-input-placeholder { color: rgba(115, 115, 115, 0.87); } .ui.input.focus>input::-moz-placeholder, .ui.input>input:focus::-moz-placeholder { color: rgba(115, 115, 115, 0.87); } .ui.input.focus>input:-ms-input-placeholder, .ui.input>input:focus:-ms-input-placeholder { color: rgba(115, 115, 115, 0.87); } .ui.action.input:not([class*="left action"])>input:focus { border-right-color: #333 !important; } .ui.form textarea { margin: 0em; -webkit-appearance: none; tap-highlight-color: rgba(255, 255, 255, 0); padding: 0.78571429em 1em; background: #FFFFFF; border: 1px solid #ddd; outline: none; color: rgba(0, 0, 0, 0.87); -webkit-box-shadow: 0em 0em 0em 0em transparent inset; box-shadow: 0em 0em 0em 0em transparent inset; -webkit-transition: color 0.1s ease, border-color 0.1s ease; transition: color 0.1s ease, border-color 0.1s ease; font-size: 1em; line-height: 1.2857; resize: vertical; } /* 예외: Fomantic 검색 드롭다운 */ .ui.form .ui.search.dropdown > input.search:focus { border: none !important; background: none transparent !important; box-shadow: none !important; } /* 텍스트영역 포커스 */ .ui.form textarea:focus { color: rgba(0, 0, 0, 0.95); border-color: #333; border-radius: 0; background: #FFFFFF; -webkit-box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset; box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset; -webkit-appearance: none; } .ui.toggle.checkbox input:focus:checked~label::before, .ui.toggle.checkbox input:checked~label::before {background-color:var(--point-color);} /* 버튼 */ .ui.button, .ui.basic.button, .ui.basic.buttons .button { border-radius: 5px; } /* Fomantic 기본 회색/700 을 밝은톤+#ddd 보더+weight500 으로 오버라이드 */ .ui.button { background-color: #f9f9f9; color: #222; font-weight: 500; /* semantic 기본 700 → 500 */ } .ui.button:not(.basic):not(.inverted):not(.primary):not(.secondary):not(.positive):not(.negative):not(.info):not(.warning):not(.red):not(.orange):not(.yellow):not(.olive):not(.green):not(.teal):not(.blue):not(.violet):not(.purple):not(.pink):not(.brown):not(.grey):not(.black):not(.color), .ui.button:not(.basic):not(.inverted):not(.primary):not(.secondary):not(.positive):not(.negative):not(.info):not(.warning):not(.red):not(.orange):not(.yellow):not(.olive):not(.green):not(.teal):not(.blue):not(.violet):not(.purple):not(.pink):not(.brown):not(.grey):not(.black):not(.color):focus { border: 1px solid #ddd; } .ui.buttons .button { border: 0 !important; } .ui.basic.buttons:not(.inverted) .button:not(.basic) { border-right: 1px solid rgba(34, 36, 38, 0.15) !important; } /* focus */ .ui.button:focus { background-color: #f9f9f9; color: #222; } .ui.button:hover, .ui.button:active { /* active=누름 피드백도 hover 와 동일 다크 반전 */ border-color: transparent; /* hover 시 테두리 제거(크기 흔들림 없음) */ background-color: #222; color: #fff; } .ui.label { border-radius: 5px; } .ui.primary.button:hover, .ui.primary.buttons .button:hover {color:var(--text-on-white-point); background-color:var(--point-hover-color) !important;} .ui.primary.button, .ui.primary.buttons .button {color:var(--text-on-white-point); background-color:var(--point-color) !important;} /* basic(외곽선형) 강조 버튼 */ .ui.basic.primary.buttons .button, .ui.basic.primary.button { background: transparent none !important; box-shadow: 0 0 0 1px var(--point-border-color) inset !important; color: var(--point-text-color) !important; } .ui.basic.primary.buttons .button:hover, .ui.basic.primary.button:hover, .ui.basic.primary.buttons .button:focus, .ui.basic.primary.button:focus { background: transparent none !important; box-shadow: 0 0 0 1px var(--point-hover-color) inset !important; color: var(--point-hover-color) !important; } .ui.basic.labels .primary.label, .ui.ui.ui.basic.primary.label { background: none #fff; border-color: var(--point-border-color); color:var(--point-text-color); } /* naver */ .ui.naver.button { background-color: #26c826; color: #FFFFFF; text-shadow: none; background-image: none; -webkit-box-shadow: 0px 0em 0px 0px rgba(34, 36, 38, 0.15) inset; box-shadow: 0px 0em 0px 0px rgba(34, 36, 38, 0.15) inset; } .ui.naver.button:hover { background-color: #26c826; color: #FFFFFF; text-shadow: none; } .ui.naver.button:active { background-color: #2d4373; color: #FFFFFF; text-shadow: none; } /* kakao */ .ui.kakao.button { background-color: #fcce00; color: #1d1d1d; text-shadow: none; background-image: none; -webkit-box-shadow: 0px 0em 0px 0px rgba(34, 36, 38, 0.15) inset; box-shadow: 0px 0em 0px 0px rgba(34, 36, 38, 0.15) inset; } .ui.kakao.button:hover { background-color: #fcce00; color: #1d1d1d; text-shadow: none; } .ui.kakao.button:active { background-color: #fcce00; color: #1d1d1d; text-shadow: none; } .ui.basic.button, .ui.basic.buttons .button { background: #fff !important; } /* Column Width */ .ui.table th.one-half.wide, .ui.table td.one-half.wide { width: 10%; } /* .ui.table */ .ui.table { font-size: 0.9286rem; } /* custom */ .right.floated { float: right; } .left.floated { float: left; } .m-0 { margin: 0 !important; } .mt-5 { margin-top: 5px !important; } .mt-10 { margin-top: 10px !important; } .mt-20 { margin-top: 20px !important; } .mt-30 { margin-top: 30px !important; } .mt-100 { margin-top: 100px !important; } .ml-5 { margin-left: 5px !important; } .ml-10 { margin-left: 10px !important; } .ml-20 { margin-left: 20px !important; } .ml-30 { margin-left: 30px !important; } .mr-5 { margin-right: 5px !important; } .mr-10 { margin-right: 10px !important; } .mr-20 { margin-right: 20px !important; } .mr-30 { margin-right: 30px !important; } .mx-5 { margin-left: 5px !important; margin-right: 5px !important; } .mx-10 { margin-left: 10px !important; margin-right: 10px !important; } .mx-20 { margin-left: 20px !important; margin-right: 20px !important; } .mx-30 { margin-left: 30px !important; margin-right: 30px !important; } .p-0 { padding: 0px !important; } .mb-5 { margin-bottom: 5px !important; } .mb-10 { margin-bottom: 10px !important; } .py-5 { padding-left: 5px !important; padding-right: 5px !important; } .py-10 { padding-left: 10px !important; padding-right: 10px !important; } .py-20 { padding-left: 20px !important; padding-right: 20px !important; } .py-30 { padding-left: 30px !important; padding-right: 30px !important; } /* img.full-image */ img.full-image { display: block; position: relative; left: 50%; height: 100%; -o-transform: translate(-50%, 0); -ms-transform: translate(-50%, 0); -moz-transform: translate(-50%, 0); -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); } /* 로딩이미지 */ #loading { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9000; text-align: center; } #loading img { position: absolute; top: 50%; left: 50%; margin: -5px 0 0 -24px; width: 48px; height: 10px; } /* 로딩 일반 메세지 */ #loading-message { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9000; } #loading-message .message { position: absolute; top: 50%; left: 50%; margin: -150px 0 0 -215px; width: 430px; height: 85px; } #loading-message .message .content { padding: 10px 0; } /* 로딩 결제 메세지 */ #loading-payment-message { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; } #loading-payment-message .message { position: absolute; top: 50%; left: 50%; margin: -150px 0 0 -215px; width: 430px; height: 85px; } #loading-payment-message .message .content { padding: 10px 0; } /* html 로드후 보여져야 할 영역 */ .after-show { display: none; } /**************** 기본양식 ****************/ /* 기본 테이블 목록 */ .normal-list .board-top-sort { clear: both; } .normal-list .board-top-sort:after { content: ''; display: block; clear: both; } .normal-list .ui.count { padding: 0; } .normal-list .total-count { display: inline-block; padding-bottom: 5px; font-size: 1rem; } .normal-list .total-count strong { color: #000; } .normal-list .ui.table { border: 0; border-bottom: 1px solid #d5dbe0; border-radius: 0; } .normal-list .ui.table thead th { border-left: 0; background: #fff !important; border-top: 2px solid #000; border-bottom: 1px solid #d5dbe0; color: #000; font-weight: 500; font-size: 1rem; border-radius: 0 !important; } .normal-list .ui.sortable.table>thead>tr>th { border-left: 0; } .normal-list .ui.table tbody td { font-size: 0.9286rem; color: #222; padding: 1.48571429em .78571429em; border-color: #eee; } .normal-list .ui.table tbody tr:hover { background: #fff !important; } .normal-list .ui.table tbody td.product-info img.thumb { width: 80px; } .normal-list .ui.table tbody td.product-info span.product-name { overflow: hidden; display: block; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-wrap: break-word !important; max-height: calc(1em * 1.4 * 2); white-space: normal; margin: 0 0 0; padding: 0; font-size: 0.8571rem; line-height: 1.4; color: #666; font-weight: normal; } /* no-data */ .list-no-data { padding: 100px 0 !important; text-align: center; background: #fff; } .list-no-data p { color: #999; } /* 폭을 고정하면 글리프가 넘쳐 한쪽으로 쏠린다. 크기는 PC 와 비슷하게 맞춘다 */ .list-no-data p i { position: relative; display: block; margin: 0 auto; font-size: 4.5rem; line-height: 1; color: #ccc; } .list-no-data p i:after { content: ''; display: block; position: absolute; bottom: 0; right: 0; width: 25px; height: 25px; border: 0px solid #eaeaea; border-radius: 30px; } .list-no-data p span { display: block; margin: 15px 0 0; text-align: center; } /* 기본 폼 등록/수정 */ .ui.form, .ui.form .field .dropdown, .ui.form .field .dropdown .menu>.item { font-size: 0.9286rem; } .normal-form .ui.form { background: #fff; } .normal-form .ui.form.segment { border-top: 1px solid #dedede; padding: 20px; } .normal-form .ui.form .field.border-none, .normal-form .ui.form .fields.border-none { border-bottom: 0; } .normal-form .ui.form .field.padding-bottom-none, .normal-form .ui.form .fields.padding-bottom-none { padding-bottom: 0 !important; } .normal-form .ui.form .field.margin-bottom-none, .normal-form .ui.form .fields.margin-bottom-none { margin-bottom: 0 !important; } .normal-form .ui.form em.at { font-style: normal; display: inline-block; margin: 0; font-size: 1rem; vertical-align: middle; } .normal-form .ui.form p.desc { font-weight: normal !important; color: #777; } .normal-form .ui.form .field>label, .normal-form .ui.form .inline.fields>label { display: inline-block; min-width: 130px; font-size: 0.9286rem; font-weight: bold; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; } .normal-form .ui.form .inline-radio { display: inline-block; margin-right: 5px; padding: 5px 0; } .normal-form .upload { margin: 0; -webkit-box-shadow: none !important; box-shadow: none !important; } .normal-form .upload .file { border: 0px !important; } .normal-form .upload .content { margin-top: 10px !important; } .normal-form .upload .delete-file { margin-top: 10px; } .normal-form .fields.captcha { align-items: stretch !important; } .normal-form .ui.divider:not(.vertical):not(.horizontal) { margin: 1.3rem 0; border-top: 1px solid rgba(34, 36, 38, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); } /* Fomantic 토글(.ui.toggle.checkbox) */ .ui.toggle.checkbox {min-height:1.1rem;} .ui.toggle.checkbox input {width:1.9rem; height:1.1rem;} .ui.toggle.checkbox label {padding-left:2.5rem;} .ui.toggle.checkbox label::before {width:1.9rem; height:1.1rem; top:50%; margin-top:-0.55rem;} .ui.toggle.checkbox label::after {width:1.1rem; height:1.1rem; top:50%; margin-top:-0.55rem;} .ui.toggle.checkbox input ~ label::after {left:-0.05rem;} .ui.toggle.checkbox input:checked ~ label::after {left:0.85rem;} .ui.right.aligned.toggle.checkbox label {padding-right:2.5rem;} .ui.segment {box-shadow:none;} /* semantic-ui elements font */ .ui.header, .ui.button { font-family: "Pretendard Variable", "Pretendard", -apple-system, sans-serif !important; } /* semantic-ui Tabular custom */ .ui.tabular.menu.custom { border-radius: 0; -webkit-box-shadow: none !important; box-shadow: none !important; border: none; background: #fafafa; border-top: 2px solid #333; border-bottom: 1px solid #ddd; margin-bottom: 10px; } .ui.tabular.fluid.menu { width: calc(100% + 2px) !important; } .ui.tabular.menu .item { background: transparent; border-bottom: none; border-left: 1px solid transparent; border-right: 1px solid transparent; border-top: 2px solid transparent; padding: 1.2em 1.2em; color: rgba(0, 0, 0, 0.87); font-size: 1rem; } .ui.tabular.menu .item:before { display: none; } /* Hover */ .ui.tabular.menu .item:hover { background-color: transparent; color: rgba(0, 0, 0, 0.8); } /* Active */ .ui.tabular.menu .active.item { background: none #FFFFFF; color: rgba(0, 0, 0, 0.95); border-top-width: 0; border-color: #ddd; font-weight: bold; margin-bottom: -1px; -webkit-box-shadow: none; box-shadow: none; border-radius: 0 !important; } /* Coupling with segment for attachment */ .ui.tabular.menu+.attached:not(.top).segment, .ui.tabular.menu+.attached:not(.top).segment+.attached:not(.top).segment { border-top: none; margin-left: 0; margin-top: 0; margin-right: 0; width: 100%; } .top.attached.segment+.ui.bottom.tabular.menu { position: relative; width: calc(100% + 2px); left: -1px; } /* 더보기 글내용 */ .more-text { display: none; } /* 리믹스 아이콘 커스텀 사이즈 (24px과 32px 사이) */ .ri-xxl { font-size: 1.75em !important; /* 약 28px */ vertical-align: middle; /* 높이 정렬 보정 */ } .ri-color-black { color:#000; } /* swiper v11 button 초기화 */ .swiper-button-next,.swiper-button-prev { position: absolute; top: var(--swiper-navigation-top-offset,50%); width: calc(var(--swiper-navigation-size)/ 44 * 27); height: var(--swiper-navigation-size); margin-top: calc(0px - (var(--swiper-navigation-size)/ 2)); z-index: 10; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--swiper-navigation-color,var(--swiper-theme-color)) } /* .rich-content — 에디터 저장본 렌더 스타일 */ .rich-content { box-sizing: border-box; line-height: 1.42; text-align: left; white-space: normal; /* 루트는 normal */ word-wrap: break-word; tab-size: 4; -moz-tab-size: 4; /* 본문 14px = 에디터 .ql-container 기준값. size 배율(small/large/huge)의 기준 */ font-size: 14px; font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif; } /* 블록 여백/카운터 초기화 (snow .ql-editor 와 동일) */ .rich-content p, .rich-content ol, .rich-content ul, .rich-content pre, .rich-content blockquote, .rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4, .rich-content h5, .rich-content h6 { margin: 0; padding: 0; counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9; } /* 공백/줄바꿈(에디터 다중공백·수동 줄맞춤) 보존은 블록 요소에만 */ .rich-content p, .rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4, .rich-content h5, .rich-content h6, .rich-content li, .rich-content blockquote { white-space: pre-wrap; } /* 본문 줄간격 = 에디터(.ql-editor 1.42 '단위없는' 배수)와 동일 */ .rich-content p, .rich-content li, .rich-content blockquote { line-height: 1.8; } /* ── 헤딩 글자크기 = 에디터 initialize.css 와 동일(px 못박음) ── */ .rich-content h1 { font-size: 32px; } .rich-content h2 { font-size: 27px; } .rich-content h3 { font-size: 21px; } .rich-content h4 { font-size: 17px; } .rich-content h5 { font-size: 16px; } .rich-content h6 { font-size: 14px; } /* 헤딩 굵기·줄간격 = 에디터와 동일 고정 */ .rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4, .rich-content h5, .rich-content h6 { font-weight: 500; line-height: 1.2; margin: 0.5em 0; } /* ── 내용 글자크기(size 피커) = 에디터 initialize.css 와 동일 ── */ .rich-content .ql-size-small { font-size: 12px; } .rich-content .ql-size-large { font-size: 18px; } .rich-content .ql-size-huge { font-size: 24px; } /* ── 리스트(ordered/bullet) + 중첩 카운터 (snow 원본 그대로) ── */ .rich-content ol, .rich-content ul { padding-left: 1.5em; list-style-type: none; /* Fomantic/Bootstrap 기본 마커 제거 — 카운터/•로 대체 */ } .rich-content ol > li, .rich-content ul > li { list-style-type: none; } .rich-content ul > li::before { content: '\2022'; } .rich-content li::before { display: inline-block; white-space: nowrap; width: 1.2em; } .rich-content li:not(.ql-direction-rtl)::before { margin-left: -1.5em; margin-right: 0.3em; text-align: right; } .rich-content ol li:not(.ql-direction-rtl), .rich-content ul li:not(.ql-direction-rtl) { padding-left: 1.5em; } .rich-content ol li { counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9; counter-increment: list-0; } .rich-content ol li:before { content: counter(list-0, decimal) '. '; } .rich-content ol li.ql-indent-1 { counter-increment: list-1; } .rich-content ol li.ql-indent-1:before { content: counter(list-1, lower-alpha) '. '; } .rich-content ol li.ql-indent-1 { counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9; } .rich-content ol li.ql-indent-2 { counter-increment: list-2; } .rich-content ol li.ql-indent-2:before { content: counter(list-2, lower-roman) '. '; } .rich-content ol li.ql-indent-2 { counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9; } .rich-content ol li.ql-indent-3 { counter-increment: list-3; } .rich-content ol li.ql-indent-3:before { content: counter(list-3, decimal) '. '; } .rich-content ol li.ql-indent-3 { counter-reset: list-4 list-5 list-6 list-7 list-8 list-9; } .rich-content ol li.ql-indent-4 { counter-increment: list-4; } .rich-content ol li.ql-indent-4:before { content: counter(list-4, lower-alpha) '. '; } .rich-content ol li.ql-indent-4 { counter-reset: list-5 list-6 list-7 list-8 list-9; } .rich-content ol li.ql-indent-5 { counter-increment: list-5; } .rich-content ol li.ql-indent-5:before { content: counter(list-5, lower-roman) '. '; } .rich-content ol li.ql-indent-5 { counter-reset: list-6 list-7 list-8 list-9; } .rich-content ol li.ql-indent-6 { counter-increment: list-6; } .rich-content ol li.ql-indent-6:before { content: counter(list-6, decimal) '. '; } .rich-content ol li.ql-indent-6 { counter-reset: list-7 list-8 list-9; } .rich-content ol li.ql-indent-7 { counter-increment: list-7; } .rich-content ol li.ql-indent-7:before { content: counter(list-7, lower-alpha) '. '; } .rich-content ol li.ql-indent-7 { counter-reset: list-8 list-9; } .rich-content ol li.ql-indent-8 { counter-increment: list-8; } .rich-content ol li.ql-indent-8:before { content: counter(list-8, lower-roman) '. '; } .rich-content ol li.ql-indent-8 { counter-reset: list-9; } .rich-content ol li.ql-indent-9 { counter-increment: list-9; } .rich-content ol li.ql-indent-9:before { content: counter(list-9, decimal) '. '; } /* 중첩 목록 카운터는 점으로 통일 */ .rich-content ol li.ql-indent-1:before, .rich-content ol li.ql-indent-2:before, .rich-content ol li.ql-indent-3:before, .rich-content ol li.ql-indent-4:before, .rich-content ol li.ql-indent-5:before, .rich-content ol li.ql-indent-6:before, .rich-content ol li.ql-indent-7:before, .rich-content ol li.ql-indent-8:before, .rich-content ol li.ql-indent-9:before { content: '\2022'; } /* 들여쓰기(indent) 패딩 */ .rich-content .ql-indent-1:not(.ql-direction-rtl) { padding-left: 1.5em; } .rich-content li.ql-indent-1:not(.ql-direction-rtl) { padding-left: 3em; } .rich-content .ql-indent-2:not(.ql-direction-rtl) { padding-left: 3em; } .rich-content li.ql-indent-2:not(.ql-direction-rtl) { padding-left: 4.5em; } .rich-content .ql-indent-3:not(.ql-direction-rtl) { padding-left: 4.5em; } .rich-content li.ql-indent-3:not(.ql-direction-rtl) { padding-left: 6em; } .rich-content .ql-indent-4:not(.ql-direction-rtl) { padding-left: 6em; } .rich-content li.ql-indent-4:not(.ql-direction-rtl) { padding-left: 7.5em; } .rich-content .ql-indent-5:not(.ql-direction-rtl) { padding-left: 7.5em; } .rich-content li.ql-indent-5:not(.ql-direction-rtl) { padding-left: 9em; } .rich-content .ql-indent-6:not(.ql-direction-rtl) { padding-left: 9em; } .rich-content li.ql-indent-6:not(.ql-direction-rtl) { padding-left: 10.5em; } .rich-content .ql-indent-7:not(.ql-direction-rtl) { padding-left: 10.5em; } .rich-content li.ql-indent-7:not(.ql-direction-rtl) { padding-left: 12em; } .rich-content .ql-indent-8:not(.ql-direction-rtl) { padding-left: 12em; } .rich-content li.ql-indent-8:not(.ql-direction-rtl) { padding-left: 13.5em; } .rich-content .ql-indent-9:not(.ql-direction-rtl) { padding-left: 13.5em; } .rich-content li.ql-indent-9:not(.ql-direction-rtl) { padding-left: 15em; } /* ── 정렬 ── */ .rich-content .ql-align-center { text-align: center; } .rich-content .ql-align-justify { text-align: justify; } .rich-content .ql-align-right { text-align: right; } .rich-content .ql-direction-rtl { direction: rtl; text-align: inherit; } /* ── 글자색/배경색 (팔레트) ── */ .rich-content .ql-color-white { color: #fff; } .rich-content .ql-color-red { color: #e60000; } .rich-content .ql-color-orange { color: #f90; } .rich-content .ql-color-yellow { color: #ff0; } .rich-content .ql-color-green { color: #008a00; } .rich-content .ql-color-blue { color: #06c; } .rich-content .ql-color-purple { color: #93f; } .rich-content .ql-bg-black { background-color: #000; } .rich-content .ql-bg-red { background-color: #e60000; } .rich-content .ql-bg-orange { background-color: #f90; } .rich-content .ql-bg-yellow { background-color: #ff0; } .rich-content .ql-bg-green { background-color: #008a00; } .rich-content .ql-bg-blue { background-color: #06c; } .rich-content .ql-bg-purple { background-color: #93f; } /* ── 서체(font 피커) ── */ .rich-content .ql-font-serif { font-family: Georgia, 'Times New Roman', serif; } .rich-content .ql-font-monospace { font-family: Monaco, 'Courier New', monospace; } /* ── 링크/인용/코드/이미지/비디오 ── */ .rich-content a { text-decoration: underline; color: #06c; } /* 링크색 고정 — 전역 a{color:#666} 지배 차단(에디터와 동일) */ .rich-content blockquote { border-left: 4px solid #ccc; margin-top: 5px; margin-bottom: 5px; padding-left: 16px; } .rich-content code, .rich-content pre { background-color: #f0f0f0; border-radius: 3px; } .rich-content pre { white-space: pre-wrap; margin-top: 5px; margin-bottom: 5px; padding: 5px 10px; font-family: Consolas, Monaco, 'Courier New', monospace; font-size: 13px; /* 에디터 코드블록과 동일 — 전역 pre 가 키우지 못하게 고정 */ } .rich-content code { font-size: 85%; padding: 2px 4px; } .rich-content pre.ql-syntax { background-color: #23241f; color: #f8f8f2; overflow: visible; } .rich-content img { max-width: 100%; } .rich-content video, .rich-content iframe { max-width: 100%; height: auto; } .rich-content .ql-video { display: block; max-width: 100%; } .rich-content .ql-video.ql-align-center { margin: 0 auto; } .rich-content .ql-video.ql-align-right { margin: 0 0 0 auto; } /* 표(table) */ .rich-content table { max-width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0.5em 0; } /* width 100% 강제 안 함 */ .rich-content td, .rich-content th { border: 1px solid #d0d3d7; padding: 6px 9px; vertical-align: top; } .rich-content th { background: #f6f7f9; font-weight: 600; text-align: center; } /* Fomantic 툴팁 */ [data-tooltip]::before, [data-tooltip]::after { font-size: 0.8125rem; } /* Quill 2.0 목록 */ .rich-content li[data-list] { list-style-type: none; } .rich-content ol li[data-list="bullet"][data-list] { counter-increment: none; } .rich-content ol li[data-list="bullet"][data-list]::before { content: '\2022'; } /* 에디터가 마커를 그리려고 넣는 빈 span — 보기 화면에서는 li::before 가 그린다 */ .rich-content .ql-ui { display: none; } /* 프레임 상대 뷰포트폭 변수 --vw */ :root { --vw: 1vw; } html { height: 100%; max-width: 100% !important; overflow-x: hidden; overflow-y: auto; font-size: 16px; /* 기준 폰트 */ } body, .ui.header, .ui.button, .ui.input, .ui.menu, .ui.card .header { font-family: "Pretendard Variable", "Pretendard", -apple-system, sans-serif !important; } h1, h2, h3, h4, h5 { font-family: "Pretendard Variable", "Pretendard", -apple-system, sans-serif !important; } body { height: 100%; max-width: 100% !important; overflow-x: hidden; overflow-y: auto; font-size: 0.9286rem; color: #333; background-color: #fff; /* padding-top/bottom 제거 */ } input:not([type="submit"]), select, textarea, .ui.input input, .ui.form input { font-size: 1rem !important; } /* 컨테이너 좌우 여백 모바일 최적화 */ .ui.container.mobile-content { width: 100% !important; margin: 0 !important; padding: 0 16px !important; /* 좌우 여백 16px */ } /* global-top-banner — PC(base)와 동일 렌더로 통일 */ #global-top-banner { text-align: center; position: relative; overflow-x: hidden; } #global-top-banner img.banner-img { display: block; position: relative; /* 모바일 탑배너는 항상 화면폭에 맞춘다. 배너 원본이 740px 고정폭이라 */ width: 100%; height: auto; left: auto; transform: none; } #global-top-banner a { display: block; height: auto; text-decoration: none !important; } #global-top-banner .close { position: absolute; right: 10px; top: 50%; margin-top: -15px; } /* 상단 헤더 & 카테고리 네비게이션 */ .mobile-header { display: relative; height: 60px; z-index: 9999; padding: 0 10px 0 0 !important; flex-direction: row; justify-content: space-between; align-items: center; box-shadow: none !important; border-bottom: 1px solid #eee !important; background-color: #fff !important; } .mobile-header:after { content: ""; position: absolute; top: 49px; left: 0; border-top:2px solid var(--point-color); border-image: var(--gradient-color-bar); display:block; width:100%; } .mobile-header .logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: auto !important; justify-content: center; margin: 0 !important; padding: 0 !important; } .mobile-header .logo a { display: block; margin: 0; padding: 0; font-size: 1.7rem; font-family: "Pretendard Variable", "Pretendard", 'Helvetica Neue', 'Apple SD Gothic Neo', '맑은고딕', 'malgun gothic', 'Open Sans', Helvetica, sans-serif; /* 본문 폰트로 통일 */ font-weight: 700; letter-spacing: -0.02em; color: #222; } .mobile-header .logo a span { color: var(--point-color); } .mobile-header .logo img { display: block; width: auto; max-height: 34px; } .mobile-header .item { margin-top: 2px; } .mobile-header .right.menu { margin: 2px 0 0 0; } .mobile-header .right.menu i { margin-right: 5px; } /* [헤더] 장바구니 버튼 및 뱃지 */ /* 1. 장바구니 버튼 영역 */ .header-cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: #333; width: 2rem; height: 2rem; vertical-align: middle; align-self: center; } /* 2. 장바구니 아이콘 크기 (기존 동일) */ .header-cart-btn i { color: #000; font-size: 1.5rem; } /* 3. 빨간색 카운트 뱃지 (위치 수정됨) */ .cart-count { position: absolute; top: -0.125rem; right: -0.125rem; background-color: var(--point-color); color: #fff; font-size: 0.6875rem; font-weight: 700; line-height: 1; padding: 0.25rem 0.375rem; border-radius: 6.25rem; min-width: 0.625rem; text-align: center; box-shadow: 0 0 0 2px #fff; z-index: 10; } /* sticky-header 클래스 정의 */ .ui.mobile-header.sticky-header { position: -webkit-sticky; position: sticky; top: 0; z-index: 1000; background-color: #fff; width: 100%; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; height: 50px; } /* 가로 스크롤 메뉴 */ .scroll-nav-wrapper { position: relative; top: 0; left: 0; width: 100%; background: #fff; z-index: 999; overflow-x: auto; white-space: nowrap; border-bottom: 1px solid #eee; -webkit-overflow-scrolling: touch; } /* 스크롤바 숨기기 */ .scroll-nav-wrapper::-webkit-scrollbar { display: none; } /* PC에서 마우스로 끌어서 가로 이동 */ .scroll-nav-wrapper { cursor: grab; } .scroll-nav-wrapper.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; } /* 링크 네이티브 드래그(고스트 이미지) 차단 — 이게 마우스를 가로채 드래그가 안 풀리던 원인 */ .scroll-nav-wrapper a { -webkit-user-drag: none; user-drag: none; } .ui.secondary.pointing.menu.scroll-nav { border-bottom: none; margin-bottom: 0; display: flex; justify-content: space-between; align-items: stretch !important; border-bottom: none !important; height: 40px; } .ui.secondary.pointing.menu.scroll-nav .item { font-size: 1rem; color: #666; font-weight: 600; display: flex; align-items: center; margin: 0 !important; padding: 11px 16px; height: 100%; border-radius: 0 !important; border: 0; } .ui.secondary.pointing.menu.scroll-nav .item.active { color: #000; font-weight: 700; border: 0; } .ui.secondary.pointing.menu.scroll-nav .item img {width:18px; height:16px; margin-left:5px;} .scroll-nav-wrapper .ui.menu .item>img:not(.ui) { width: 4.5em; } .pusher { overflow: visible !important; transform: none !important; height: auto !important; overflow-x: visible !important; } /* 모바일 Footer 스타일 */ .mobile-footer { background-color: #f8f8f8; border-top: 1px solid #e5e5e5; color: #333; font-family: 'Pretendard', sans-serif; padding-bottom: 30px; } .mobile-footer a { text-decoration: none !important; } /* 링크 메뉴 */ .footer-links { display: flex; justify-content: center; padding: 15px 0; background: #fff; border-bottom: 1px solid #eee; } .footer-links a { font-size: 0.8125rem; color: #666; text-decoration: none; padding: 0 10px; border-right: 1px solid #ddd; line-height: 1; } .footer-links a:last-child { border-right: none; } .footer-links a.highlight { font-weight: 700; color: #333; } /* 퀵 메뉴 아이콘 */ .footer-quick-icons { display: flex; justify-content: space-around; background: #fff; padding: 12px 0; border-bottom: 1px solid #eee; } .footer-quick-icons .item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #555; width: 20%; } .footer-quick-icons .item i { font-size: 1.5rem; margin-bottom: 6px; color: #666; } .footer-quick-icons .item span { font-size: 0.75rem; } /* 고객센터 & 계좌정보 그리드 */ .footer-info-grid { display: flex; background: #fff; padding: 15px 10px; border-bottom: 1px solid #eee; align-items: stretch; } .info-box { flex: 1; padding: 0 10px; display: flex; flex-direction: column; } .info-box.border-left { border-left: 1px solid #eee; } /* 텍스트 스타일 */ .info-box h3 { font-size: 0.9375rem; font-weight: 700; margin: 0 0 10px 0; color: #333; } .info-box .phone { font-size: 1.125rem; font-weight: 800; color: #333; margin: 0; } .info-box .sub-phone { font-size: 0.8125rem; color: #666; margin: 4px 0 8px; } .info-box .desc { font-size: 0.75rem; color: #888; line-height: 1.4; margin-bottom: 12px; } .info-box .bank-info { font-size: 0.8125rem; color: #333; margin: 0 0 5px; line-height: 1.4; } .info-box .owner { font-size: 0.75rem; color: #888; margin-bottom: 15px; } /* 버튼 스타일 수정 */ .btn-action { display: block; width: 100%; padding: 10px 0; text-align: center; background: var(--point-color); color: var(--text-on-white-point); font-size: 0.8125rem; text-decoration: none; border-radius: 4px; font-weight: 600; margin-top: auto; } .btn-action i { vertical-align: middle; margin-right: 4px; } /* 사업자 정보 토글 */ .footer-biz-toggle { text-align: center; background: #f8f8f8; border-bottom: 1px solid #eee; } .title.biz-toggle-btn { background: none; border: none; font-size: 0.8125rem !important; font-weight: 700; color: #666 !important; padding: 15px 0 !important; cursor: pointer; width: 100%; outline: none; } .biz-toggle-btn i { margin-left: 5px; vertical-align: middle; transition: transform 0.3s ease; display: inline-block; } .footer-biz-toggle>.content p { font-size: 0.75rem; color: #888; line-height: 1.6; padding: 0 20px 10px 20px; margin: 0; word-break: keep-all; } /* SNS 아이콘 */ .footer-sns { text-align: center; padding: 25px 0 15px; display: flex; justify-content: center; gap: 20px; } .footer-sns a { display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #999; text-decoration: none; transition: all 0.2s; } /* SVG 아이콘 크기 조정 */ .footer-sns a.custom-svg svg { width: 24px; height: 24px; } /* 호버 시 색상 */ .footer-sns a:hover { color: #333; } /* 에스크로(구매안전서비스) — escrowUrl 설정 시에만 노출 */ /* '정보 확인' 아코디언 안으로 이동 — 상단 구분선 + 가운데정렬, 버튼 위아래 여백 확보 */ .footer-escrow { padding: 14px 0 12px; margin-top: 12px; text-align: center; border-top: 1px solid #eee; } .footer-escrow p { margin: 0 0 8px; font-size: 0.75rem; line-height: 1.5; letter-spacing: -0.02rem; color: #888; } .footer-escrow .btn-escrow-verify { display: inline-flex; align-items: center; gap: 3px; padding: 5px 10px; font-size: 0.75rem; color: #555; border: 1px solid #ddd; border-radius: 4px; background: #fff; text-decoration: none; } .footer-escrow .btn-escrow-verify:hover { color: #fff; border-color: #666; background: #666; } /* 카피라이트 */ .footer-copyright { text-align: center; font-size: 0.75rem; color: #aaa; /* SNS 링크가 없으면 사업자정보 아코디언에 바로 붙어 답답해진다 — 위 여백을 기본으로 확보 */ padding: 18px 0 0; } /* SNS 아이콘이 앞에 있으면 그 아래 여백(15px)으로 충분하므로 위 여백을 뺀다 */ .footer-sns + .footer-copyright { padding-top: 0; } /* 플로팅 스크롤 버튼 (Top/Down) */ .floating-btns { position: fixed; right: 10px; bottom: 20px; z-index: 999 !important; opacity: 1; visibility: hidden; transform: translateY(5px); transition: bottom 0.25s ease, opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease; } /* 스크롤 시 나타날 때 붙는 클래스 */ .floating-btns.show { opacity: 1; visibility: visible; transform: translateY(0); } /* 개별 버튼 스타일 */ .floating-btns .btn-scroll { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; background-color: rgba(255, 255, 255, 1.0); color: #333; border-radius: 5px; margin-top: 5px; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); text-decoration: none; transition: background-color 0.2s; } /* 버튼 눌렀을 때 색상 변화 */ .floating-btns .btn-scroll:active { background-color: #777; } /* 아이콘 크기/정렬 보정 */ .floating-btns .btn-scroll i { line-height: 1; vertical-align: middle; } /* 상단 검색 모달 (Search Modal) 커스텀 */ /* 모달 전체 화면 꽉 채우기 */ .ui.fullscreen.modal.search-modal { border-radius: 0 !important; margin: 0 !important; background: #fff !important; box-shadow: none !important; min-height: 100vh; } .ui.fullscreen.modal.search-modal .content { padding: 0 !important; } /* 검색바 헤더 스타일 */ .search-top-bar { display: flex; align-items: center; padding: 10px 0 0; border-bottom: 2px solid #000; margin: 0 16px; height: 60px; } /* 버튼들 (뒤로가기, 삭제, 검색) */ .search-top-bar button { background: none; border: none; padding: 10px; cursor: pointer; line-height: 0; } .search-top-bar .btn-search i { color: var(--point-color); } /* 이미지검색 카메라(돋보기 왼쪽). 탭하면 바로 사진선택창이 뜬다. */ .search-top-bar .btn-image-search-mobile i { color: #555; } /* 입력창 커스텀 */ .search-top-bar .ui.input { flex: 1; padding: 0 10px; } .search-top-bar .ui.input input { font-size: 1.2rem; font-weight: 600; color: #333; padding: 0 !important; } /* placeholder 색상 */ .search-top-bar .ui.input input::placeholder { color: #ccc; font-weight: 400; } /* 검색 바디 (최근/인기 검색어) */ .search-body { padding: 24px 16px; } .search-section { margin-bottom: 20px; } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .section-header .title { font-size: 1rem; font-weight: 700; color: #000; } .section-header .action { font-size: 0.75rem; color: #999; cursor: pointer; border-bottom: 1px solid #eee; } .section-header .date { font-size: 0.75rem; color: #888; } /* 최근 검색어 태그 */ .recent-keywords .ui.label { margin: 0 6px 8px 0; border-radius: 20px; padding: 8px 12px; font-weight: 400; color: #555; border: 1px solid #eee; background: #fff; } .recent-keywords .ui.label i.delete.icon { margin-left: 8px; color: #ccc; } /* 인기 검색어 리스트 */ .rank-list .item { padding: 12px 0 !important; font-size: 0.9375rem; color: #333; border-bottom: 1px solid #f9f9f9; } .rank-list .rank { display: inline-block; width: 24px; font-weight: 700; margin-right: 10px; color: #333; } /* 1,2,3위 강조 색상 */ .rank-list .rank.num-1, .rank-list .rank.num-2, .rank-list .rank.num-3 { color: #ff5e00; } .ui.list .rank-list>a.item, .ui.list>a.item { color: #333; } /* [왼쪽 사이드바] 커스텀 디자인 */ /* 사이드바 기본 초기화 */ .custom-sidebar.ui.sidebar { background: #fff; padding: 0; overflow-x: hidden; width: 80% !important; max-width: 320px !important; min-width: 280px !important; border: 0 !important; } /* [사이드바] 상단 로그인 섹션 */ /* 1. 공통 컨테이너 */ .auth-header { padding: 1.5rem 1.25rem; background-color: #fff; border-bottom: 1px solid #eee; position: relative; } /* 2. 닫기 버튼 */ .auth-header .close-btn { position: absolute; top: 1rem; right: 1rem; font-size: 1.5rem; color: #333; text-decoration: none; line-height: 1; } /* 3. 텍스트 영역 */ .auth-info { margin-bottom: 1.25rem; padding-right: 2rem; } .auth-info h2 { font-size: 1.125rem; font-weight: 700; color: #333; margin: 0 0 0.375rem 0; } .auth-info h2 strong { font-weight: 700; font-size: 1.25rem; color: #000; } .auth-info p { font-size: 0.875rem; color: #888; margin: 0; } /* 4. 버튼 그룹 */ .auth-btn-group { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; width: 100%; } /* 5. 버튼 공통 스타일 */ .btn-auth-item { display: flex; align-items: center; justify-content: center; height: 2.5rem; background-color: #fff; border: 1px solid #ddd; border-radius: 0.25rem; font-size: 0.875rem; color: #444; text-decoration: none; transition: all 0.2s; width: 100%; } .btn-auth-item i { margin-right: 0.375rem; font-size: 1rem; color: #888; } /* 호버 효과 */ .btn-auth-item:hover { background-color: #f9f9f9; border-color: #bbb; color: #000; } .btn-auth-item:hover i { color: var(--point-color); } /* 6. (로그인 전용) 말풍선 뱃지 스타일 */ .badge-wrap { position: relative; } .point-badge { position: absolute; top: -1.55rem; right: 0; background-color: var(--point-color); color: var(--text-on-white-point); font-size: 0.65rem; font-weight: 700; padding: 0.05rem 0.5rem; border-radius: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); white-space: nowrap; animation: bounce 2s infinite; } .point-badge::after { content: ''; position: absolute; bottom: -0.25rem; left: 50%; transform: translateX(-50%); border-width: 0.25rem 0.2rem 0; border-style: solid; border-color: var(--point-color) transparent transparent transparent; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } } /* 3. 탭 메뉴 (Grid로 강제 50:50 분할) */ .sidebar-tabs.ui.menu { display: grid !important; grid-template-columns: 1fr 1fr !important; width: 100% !important; height: 40px !important; margin: 0 !important; border: none !important; border-bottom: 2px solid var(--point-color) !important; border-radius: 0 !important; background: #f2f2f2; padding: 0 !important; box-shadow: none !important; } .sidebar-tabs.ui.menu .item { display: flex !important; align-items: center; justify-content: center; width: 100% !important; height: 100% !important; padding: 0 !important; border: none !important; background: #f2f2f2; color: #888; font-weight: 700; font-size: 0.875rem; flex: none !important; max-width: none !important; } /* 밀림 현상의 주범인 사이 간격 선(가상요소) 영구 삭제 */ .sidebar-tabs.ui.menu .item::before, .sidebar-tabs.ui.menu .item::after, .ui.vertical.sidebar.menu>.item::before, .ui.vertical.sidebar.menu>.item::after { display: none !important; content: none !important; } /* 활성화 상태 */ .sidebar-tabs.ui.menu .item.active { background-color: var(--point-color) !important; color: var(--text-on-white-point) !important; } /* 호버 상태 */ .sidebar-tabs.ui.menu .item:hover { color: var(--point-border-color); } /* 3. 카테고리 그리드 (2열) */ .cat-grid { display: flex; flex-wrap: wrap; border-bottom: 1px solid #eee; } .cat-item { width: 50%; height: 50px; display: flex; align-items: center; padding-left: 15px; font-size: 0.8125rem; color: #444; text-decoration: none; border-bottom: 1px solid #eee; border-right: 1px solid #eee; box-sizing: border-box; } /* 1. 마지막 요소는 무조건 선택 (짝수/홀수 상관없이 항상 마지막 줄) */ .cat-item:last-child, .cat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; } /* 오른쪽 끝 아이템은 세로선 제거 */ .cat-item:nth-child(2n) { border-right: none; } .cat-item i { font-size: 1.125rem; margin-right: 8px; color: #888; } .cat-item .star { color: #ffaa00; margin-left: 4px; font-size: 0.75rem; } .cat-item:hover { background-color: #f9f9f9; color: var(--point-color); } .cat-item:hover i { color: var(--point-color); } /* [사이드바] 고객센터 탭 (리스트 스타일) */ /* 1. 리스트 컨테이너 */ .cs-list { display: flex; flex-direction: column; width: 100%; border-bottom: 1px solid #eee; } /* 2. 개별 아이템 */ .cs-item { display: flex; align-items: center; width: 100%; height: 3.125rem; padding-left: 0.9375rem; font-size: 0.8125rem; color: #444; text-decoration: none; border-bottom: 1px solid #eee; background: #fff; box-sizing: border-box; transition: all 0.2s; } .cs-item:last-child { border-bottom: 0; } /* 아이콘 스타일 */ .cs-item i { font-size: 1.125rem; margin-right: 0.5rem; color: #888; } /* 3. 호버 효과 (민트색) */ .cs-item:hover { background-color: var(--point-color-light); color: var(--point-color); } .cs-item:hover i { color: var(--point-color); } /* 4. 하단 정보 영역 */ .sidebar-footer-info { padding: 20px; background: #fff; } .info-block { margin-bottom: 15px; } .info-block.border-top { border-top: 1px solid #eee; padding-top: 15px; } /* 헤더와 버튼 가로 정렬 */ .info-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .info-header h3 { margin: 0; font-size: 0.875rem; font-weight: 700; color: #333; } /* 하얀색 버튼 스타일 */ .btn-outline { border: 1px solid #ccc; padding: 4px 8px; font-size: 0.75rem; color: #666; border-radius: 2px; text-decoration: none; background: #fff; } /* 텍스트 내용 */ .info-body .big-num { font-size: 1.125rem; font-weight: 800; color: #000; margin: 0 0 2px 0; } .info-body .sub-num { font-size: 0.875rem; font-weight: 700; color: #333; margin: 0 0 10px 0; } .info-body .desc { font-size: 0.75rem; color: #888; line-height: 1.5; margin: 0; } .info-body .bank-info { font-size: 0.8125rem; color: #444; margin: 0 0 2px 0; } .info-body .bank-owner { font-size: 0.75rem; color: #888; margin: 0; } /* 카피라이트 */ .sidebar-copyright { text-align: center; font-size: 0.75rem; color: #ccc; margin-top: 20px; } /* 사이드바 스타일 */ .ui.sidebar.mobile-sidebar { background: #fff; width: 70%; max-width: 320px; z-index: 99999; } /* 딤(배경 어둡게) 처리 스타일 */ .sidebar-dimmer { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 99990; display: none; } /* 햄버거 버튼 스타일 */ .mobile-header .btn-open-category { cursor: pointer; padding: 10px; } /* 우측 사이드바 (User Sidebar) 스타일 */ .ui.right.sidebar.user-sidebar { background: #fff; width: 50%; max-width: 320px; z-index: 9999; } /* 닫기 버튼 위치 (왼쪽 사이드바랑 반대편에 두거나 디자인 통일) */ .user-sidebar .close-user-sidebar { position: absolute; top: 20px; right: 20px; font-size: 1.2rem; color: #999; cursor: pointer; } /* 메뉴 아이콘 간격 */ .user-sidebar .sidebar-menu .item i { margin-right: 10px; color: #666; vertical-align: middle; } /* page-title */ .page-title {margin:20px auto 30px; text-align:center;} .page-title h2 {margin:0 0 0; font-size:1.25rem; font-weight:500; color:#222; font-family: "Pretendard Variable", "Pretendard", 'Helvetica Neue', 'Apple SD Gothic Neo', '맑은고딕', 'malgun gothic', 'Open Sans', Helvetica, sans-serif;} .page-title h2:after {content:''; display:block; width:20px; height:1px; margin:10px auto; background:#222;} .page-title p.desc {margin:0; padding:0 16px; font-size:0.9375rem; color:#555;} /* page-title align-left */ .page-title.align-left {margin:10px auto 30px; padding:0 0 0; text-align:left; border-bottom:1px solid #ccc; vertical-align:middle;} .page-title.align-left h2 {position:relative; display:inline-block; margin:0 0 0; font-size:1.25rem; font-weight:500; color:#222; letter-spacing:-0.05em;} .page-title.align-left h2:after {content:''; display:block; position:relative; width:100%; height:1px; margin:10px 0 -1px; background:#000;} .page-title.align-left p.desc {display:inline-block; margin:0; padding:0 0 0 10px; font-size:1rem; color:#555;} /* 모바일 브레드크럼 헤더 (닫기 버튼 헤더 고정형) */ .mobile-breadcrumb-header { position: relative; /* 스크롤 시 같이 움직임 (고정하려면 sticky) */ z-index: 10; background: #fff; width: 100%; height: 50px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee; padding-left: 10px; padding-right: 0; box-sizing: border-box; } .mobile-breadcrumb-header .btn-back { width: 40px; height: 100%; display: flex; align-items: center; justify-content: flex-start; font-size: 1.5rem; color: #111; text-decoration: none; } .mobile-breadcrumb-header .breadcrumb-title-btn { display: flex; align-items: center; justify-content: center; gap: 4px; height: 100%; cursor: pointer; font-size: 1rem; font-weight: 700; color: #111; text-align:center; } .mobile-breadcrumb-header .breadcrumb-title-btn .icon-arrow { font-size: 1.25rem; transition: transform 0.3s ease; } /* 하위 네비 없는 페이지(용도별/기획전 등, base 동일): 드롭다운 없음 → 클릭 커서 제거 */ .mobile-breadcrumb-header .breadcrumb-title-btn.no-dropdown { cursor: default; } .mobile-breadcrumb-header.open .breadcrumb-title-btn .icon-arrow { transform: rotate(180deg); } /* 우측 영역 (버튼이 들어갈 자리 확보) */ .mobile-breadcrumb-header .breadcrumb-right-area { width: 50px; height: 100%; display: flex; align-items: center; justify-content: center; } /* 닫기 버튼 본체 */ .btn-header-close { width: 100%; height: 100%; background-color: #000; color: #fff; border: none; font-size: 1.5rem; cursor: pointer; display: none; align-items: center; justify-content: center; } /* 메뉴가 열렸을 때만(open) 버튼 보이기 */ .mobile-breadcrumb-header.open .btn-header-close { display: flex; } /* [공통] 하위 네비가 없는 breadcrumb 은 닫기 버튼도 숨긴다 */ .mobile-breadcrumb-header .breadcrumb-title-btn.no-dropdown ~ .breadcrumb-right-area .btn-header-close { display: none; } /* 드롭다운 메뉴 레이어 (리스트) */ .breadcrumb-dropdown-layer { position: absolute; top: 50px; left: 0; width: 100%; background: #fff; border-bottom: 1px solid #ddd; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); max-height: 50vh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; display: none; z-index: 1001; } /* 메뉴 그리드 */ .breadcrumb-menu-grid { display: grid; grid-template-columns: 1fr 1fr; background: #fff; } /* 개별 메뉴 아이템 */ .breadcrumb-menu-grid .breadcrumb-item { display: flex; align-items: center; padding: 10px 10px; font-size: 0.875rem; color: #666; text-decoration: none; border-bottom: 1px solid #f9f9f9; transition: background 0.2s; } /* 홀수 번째 아이템 우측 구분선 */ .breadcrumb-menu-grid .breadcrumb-item:nth-child(odd) { border-right: 1px solid #f9f9f9; } /* 터치 효과 */ .breadcrumb-menu-grid .breadcrumb-item:active { background: #f5f5f5; } /* 활성화 상태 (포인트 컬러 적용) */ .breadcrumb-menu-grid .breadcrumb-item.active { font-weight: 700; color: var(--point-color) !important; } /* 헤더가 open 되면 레이어 보이기 */ .mobile-breadcrumb-header.open .breadcrumb-dropdown-layer { display: block; } /* 열렸을 때 헤더를 콘텐츠 위로 올려 드롭다운이 안 가리게 */ .mobile-breadcrumb-header.open { z-index: 999; } .breadcrumb-menu-grid .breadcrumb-item i { padding-left:5px; font-size:0.75rem; color:#ffaa00; } @media screen and (orientation: landscape) { .breadcrumb-dropdown-layer { max-height: 85vh !important; } .breadcrumb-menu-grid { grid-template-columns: 1fr 1fr 1fr; } } /* 통합 상품 리스트 디자인 (썸네일/갤러리/웹진) */ /* 1. [공통] 그리드 및 리스트 초기화 */ .product.list .grid { display: grid; padding: 0 13px; /* 화면 양옆 여백 */ box-sizing: border-box; list-style: none; margin: 0; width: 100%; gap: 24px 12px; /* 세로 24px, 가로 12px 간격 */ } /* 아이템 초기화 */ .product.list .item { width: 100%; margin: 0; padding: 0; border: none; } .product.list .box { position: relative; width: 100%; min-width: 0; } /* 2. [공통] 썸네일 스타일 (정방형 1:1) */ .product.list .thumbnail { position: relative; width: 100%; padding-top: 100%; /* 1:1 비율 유지 */ overflow: hidden; background: #fff; /* contain 여백/로딩 전 배경 = 흰색 */ border-radius: var(--product-thumb-radius); /* 요즘 스타일의 둥근 모서리 */ margin-bottom: 8px; } .product.list .thumbnail img.thumb { width: 100%; height: 100%; object-fit: contain; object-position: center; position: absolute; top: 0; left: 0; transition: transform 0.3s; } /* 이미지 없음(No Image) 대체 박스 스타일 */ .product.list .no-image { width: 100%; height: 100%; position: absolute; top: 0; left: 0; /* 배경색: 연한 회색 */ background-color: #f5f5f5; /* 아이콘 중앙 정렬 */ display: flex; align-items: center; justify-content: center; /* 테두리 (선택사항) */ box-sizing: border-box; border: 1px solid #eee; border-radius: 8px; /* 썸네일 둥글기와 맞춤 */ } /* 아이콘 스타일 */ .product.list .no-image i { font-size: 2rem; /* 아이콘 크기 (32px) */ color: #d1d1d1; /* 아이콘 색상 (연한 회색) */ } /* 3. [공통] 텍스트 및 정보 영역 */ .product.list .description { position: relative; padding: 0 2px; } /* (A) 상단 액션 로우 (상품코드 + 하트) */ .product.list .action-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3px; min-height: 20px; } /* 상품코드 */ .product.list .code { font-size: 0.8125rem; /* 13px */ font-weight: 500; color: #888; letter-spacing: -0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 30px); } /* 하트(찜) 버튼 */ .product.list .btn-wishlist { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; text-decoration: none; cursor: pointer; font-size: 1.25rem; color: #ccc; transition: transform 0.2s; } .product.list .btn-wishlist.active { color: #ff3b30; } /* 클릭 효과 */ .product.list .btn-wishlist:active { transform: scale(0.8); } /* 공급처명(관리자 전용) */ .product.list .info a.seller-name { display: block; overflow: hidden; max-width: 100%; margin: 0 0 3px; font-size: 0.75rem; line-height: 1.2; font-weight: 600; color: #e8590c; white-space: nowrap; text-overflow: ellipsis; text-decoration: none; } .product.list .info a.seller-name i { margin-right: 3px; font-size: 0.8125rem; vertical-align: -1px; } /* (B) 상품명 */ .product.list .info .name { display: -webkit-box; font-size: 0.9375rem; color: #333; line-height: 1.3; margin-bottom: 5px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none; font-weight: 400; } /* 요약설명 */ .product.list .summary { font-size: 0.75rem; color: #888; margin-bottom: 4px; display: none; } /* (C) 가격 영역 */ .product.list .price-area { margin: 0; padding: 0; list-style: none; } .product.list .price { font-size: 0.875rem; font-weight: 600; color: #111; letter-spacing: -0.5px; } /* 만약 할인 전 가격이 있다면 */ .product.list .price strike { display: block; font-size: 0.75rem; color: #aaa; font-weight: 400; margin-bottom: 2px; } .product.list i.icon-active {color:var(--point-color);} /* [타입별 레이아웃 설정] */ /* 1. 썸네일형 (기본 2단) - 클래스: thumb */ .product.list.thumb .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 2. 갤러리형 (3단) - 클래스: gallery */ .product.list.gallery .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; } /* 3단일 때 폰트 사이즈 미세 조정 */ .product.list.gallery .code { font-size: 0.75rem; } .product.list.gallery .info .name { font-size: 0.875rem; margin-bottom:3px; } /* 3. 웹진형 (가로형 1단) - 클래스: webzine */ .product.list.webzine .grid { grid-template-columns: 1fr; gap: 16px; } .product.list.webzine .box { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #eee; } .product.list.webzine .thumbnail { width: 140px; height: 140px; padding-top: 0; flex-shrink: 0; margin-bottom: 0; } .product.list.webzine .description { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 110px; } .product.list.webzine .action-row { margin-bottom: 4px; } .product.list.webzine .info .name { margin-bottom: 8px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; line-height: 1.4; /* 2. 높이값 재계산 (0.9375rem * 1.4 * 3줄 = 3.9375rem) */ max-height: 3.9375rem; } /* [상품 슬라이더] 상태별 스타일 (ON/OFF) */ /* 1. 슬라이드 모드 (.on) */ .product-slide.on { position:relative; } .product-slide.on .swiper-container { overflow: hidden; /* 슬라이드 넘침 방지 */ padding-bottom: 50px; /* 페이징 영역 확보 */ } .product-slide.on .grid { display: flex !important; /* Grid 해제 -> Flex 변경 */ gap: 0 !important; /* Swiper가 제어하므로 gap 제거 */ } .product-slide.on .item { width: 100%; /* 너비는 Swiper가 계산 */ flex-shrink: 0; } /* 2. 일반 리스트 모드 (.off - 상품 부족 시) */ .product-slide.off .swiper-container { overflow: visible; } .product-slide.off .grid { display: grid !important; /* 일반 Grid 사용 */ /* 기본 4열 (PC) */ grid-template-columns: repeat(4, 1fr); gap: 24px 12px; } /* 모바일 반응형 (일반 리스트일 때) */ @media (max-width: 768px) { .product-slide.off .grid { grid-template-columns: repeat(2, 1fr); /* 모바일은 2열 */ } } /* 3. 컨트롤 요소 숨김 처리 (JS 초기화 전 감춤) */ .product-slide .swiper-pagination, .product-slide .swiper-button-next, .product-slide .swiper-button-prev { display: none; /* JS가 조건 맞으면 show() 함 */ } /* 슬라이드 화살표 스타일 보정 */ .product-slide .swiper-button-next, .product-slide .swiper-button-prev { top: var(--swiper-navigation-top-offset,50%); /* 썸네일 높이 중앙 쯤 */ width: 32px; height: 32px; background:none; background: rgba(255,255,255,0.9); border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); background-size: 14px; } .product-slide .swiper-button-next i, .product-slide .swiper-button-prev i { font-size:2rem; width:32px; height:32px; line-height:2rem; color:#000; } .product-slide .swiper-button-next:after, .product-slide .swiper-button-prev:after {display:none !important;} .product-slide .swiper-pagination-bullet-active { background-color:var(--point-color) !important; } /* page-common-title */ .page-common-title {} .page-common-title h3 { margin:10px 0; text-align:center; color:#222; font-size:1rem; } .page-common-title h3 span { color:var(--point-color); } /* 배너 슬라이드 스타일 (ul, li 태그 대응) */ .normal-slide { position: relative; width: 100%; overflow: hidden; margin-bottom: 0; } /* 슬라이드 컨트롤/페이저 off 면 CSS로 즉시 숨김 */ .normal-slide[data-controls="false"] .swiper-button-prev, .normal-slide[data-controls="false"] .swiper-button-next { display: none !important; } .normal-slide[data-pager="false"] .swiper-pagination { display: none !important; } /* 1. 컨테이너 초기화 */ .normal-slide .swiper-container, .normal-slide .swiper { width: 100%; height: 100%; padding: 0; padding-bottom: 20px; /* 페이징 영역 */ overflow: hidden; } .normal-slide ul.swiper-wrapper { margin: 0 !important; padding: 0 !important; list-style: none !important; /* 점 없애기 */ box-sizing: border-box; display: flex; /* flex 강제 */ } /* 3. 슬라이드(li) 스타일 초기화 */ .normal-slide .swiper-slide { display: block; width: 100%; /* 기본 100% */ height: auto; margin: 0; padding: 0; /* li 패딩 제거 */ box-sizing: border-box; flex-shrink: 0; /* 찌그러짐 방지 */ } /* 이미지 스타일 */ .normal-slide .swiper-slide img.design-banner { width: 100%; height: auto; display: block; border-radius: 0; object-fit: cover; border-radius: var(--slide-radius, 0px); } /* 보이는 슬라이드 제목 */ .normal-slide .swiper-slide span.slide-banner-title { display: none; } .normal-slide .swiper-slide span.slide-banner-title.on-slide { position:absolute; bottom:0; display:block; width:100%; box-sizing:border-box; border-radius:0 0 0 0; background:rgba(0,0,0,0.3); color:#fff; padding:5px 10px; } /* 슬라이드 화살표 스타일 보정 */ .normal-slide .swiper-button-next, .normal-slide .swiper-button-prev { top: var(--swiper-navigation-top-offset,47%); /* 썸네일 높이 중앙 쯤 */ width: 32px; height: 32px; background:none; background: rgba(255,255,255,0.9); border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); background-size: 14px; } .normal-slide .swiper-button-next i, .normal-slide .swiper-button-prev i { font-size:2rem; width:32px; height:32px; line-height:2rem; color:#000; } .normal-slide .swiper-button-next:after, .normal-slide .swiper-button-prev:after {display:none !important;} .normal-slide .swiper-pagination-bullet-active { background-color:var(--point-color) !important; } /* 페이징 */ .normal-slide .swiper-pagination-bullets { bottom: 0 !important; display: flex; justify-content: center; } .normal-slide .swiper-pagination-bullet { width: 8px; height: 8px; background: #ccc; margin: 0 5px; opacity: 1; border-radius: 50%; } .normal-slide .swiper-pagination-bullet-active { background: #000; width: 20px; border-radius: 10px; transition: width 0.3s; } .normal-slide .swiper-pagination-fraction { bottom: 35px !important; right: 45px !important; left: auto !important; width: auto !important; background: rgba(0,0,0,0.6); color: #fff; padding: 2px 10px; border-radius: 20px; font-size: 12px; } .normal-slide .hide { display: none !important; } /* 전체보기(+) 버튼 및 Dimmer 스타일 */ /* 1. 플러스(+) 버튼 스타일 */ .normal-slide .btn-view-all { position: absolute; bottom: 36px; /* 페이징 높이에 맞춤 */ right: 15px; /* 오른쪽 여백 */ width: 25px; height: 25px; background: rgba(0, 0, 0, 0.6); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 60; /* 화살표보다 위에 */ font-size: 16px; transition: background 0.3s; } .normal-slide .btn-view-all:hover { background: #000; } /* 2. 전체보기 Dimmer (전체 화면 덮기) */ .normal-slide .all-view-dimmer { display: none; /* 기본 숨김 */ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background:rgba(0,0,0,0.6); z-index: 99999; /* 최상단 */ flex-direction: column; } /* Dimmer 헤더 (타이틀 + 닫기버튼) */ .normal-slide .all-view-dimmer .dimmer-header { height: 50px; display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; } .normal-slide .all-view-dimmer .dimmer-header span { font-weight: bold; font-size: 1rem; color:#fff; } .normal-slide .all-view-dimmer .btn-close-dimmer { position: absolute; right: 15px; top: 0; bottom: 0; margin: auto; background: none; border: none; font-size: 1.5rem; cursor: pointer; color:#fff; } /* Dimmer 내용 (스크롤 영역) */ .normal-slide .all-view-dimmer .dimmer-content { flex: 1; overflow-y: auto; padding: 20px; background: transparent; /* 마우스 드래그 스크롤 */ user-select: none; -webkit-user-select: none; cursor: grab; } .normal-slide .all-view-dimmer .dimmer-content.drag-scrolling { cursor: grabbing; } /* 배너 그리드 레이아웃 (2단 배열) */ .normal-slide .banner-grid { display: grid; grid-template-columns: repeat(1, 1fr); /* 2열 */ gap: 15px; margin: 0; padding: 0; list-style: none; } .normal-slide .banner-grid li { position:relative; border-radius: 0; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); } .normal-slide .banner-grid img { width: 100%; display: block; } .normal-slide .banner-grid .slide-banner-title { position:absolute; bottom:0; display:block; width:100%; box-sizing:border-box; border-radius:0 0 0 0; background:rgba(0,0,0,0.3); color:#fff; padding:5px 10px; } /* 타이틀 */ .page-common-title h3 { margin: 10px 0; text-align: center; color: #222; font-size: 1rem; } /* 디자인관리 팝업(mobile) */ /* 관리자 지정 좌표는 무시하고 화면 중앙 카드로 */ .design-popup { position: fixed !important; top: 50% !important; left: 50% !important; right: auto !important; bottom: auto !important; transform: translate(-50%, -50%); width: 92% !important; max-width: 400px !important; margin: 0; background: #fff; border: 1px solid #333; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); /* z-index 는 헬퍼 인라인(11001+) 사용 — 퀵바(1100)/헤더 위 오버레이 */ } .design-popup .design-popup-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: #333; color: #fff; } .design-popup .design-popup-head .title { font-size: 0.95rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .design-popup .design-popup-x { flex: 0 0 auto; width: 28px; height: 28px; border: 0; background: none; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0; } .design-popup .design-popup-body { overflow: auto; padding: 0; background: #fff; max-height: 70vh; -webkit-overflow-scrolling: touch; } .design-popup .design-popup-body img { max-width: 100%; } .design-popup .design-popup-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: #f6f6f6; border-top: 1px solid #eee; font-size: 0.85rem; } .design-popup .design-popup-foot label { display: flex; align-items: center; gap: 5px; cursor: pointer; color: #444; } .design-popup .design-popup-foot button { border: 1px solid #ccc; background: #fff; padding: 8px 16px; cursor: pointer; border-radius: 4px; font-size: 0.85rem; } /* ===== Flatpickr 날짜선택 하단 단축버튼(오늘/없음) — 관리자와 동일 톤 ===== */ .flatpickr-shortcuts { display: flex; justify-content: space-between; padding: 8px 10px; border-top: 1px solid #e2e8f0; background: #f8fafc; } .flatpickr-shortcut-btn { padding: 5px 14px; font-size: 12px; border-radius: 4px; cursor: pointer; transition: all 0.15s ease; } .flatpickr-shortcut-clear { color: #64748b; background: #fff; border: 1px solid #e2e8f0; } .flatpickr-shortcut-clear:hover { background: #f1f5f9; border-color: #cbd5e1; } .flatpickr-shortcut-today { color: #fff; background: #333; border: 1px solid #333; } .flatpickr-shortcut-today:hover { background: #000; border-color: #000; } /* 위젯 타이틀 공통 css */ .widget-title {margin:0 0 15px 0; padding:0; display:flex;} .widget-title h3 {margin:0 0 0; padding:0; font-size:var(--w-title-size, calc(1.25rem * var(--w-title-scale, 1))); font-weight:600; color:#333;} .widget-title p {margin: 0; padding: 3px 0 0 0; font-size:calc(0.875rem * var(--w-title-scale, 1)); color: #555;} .widget-title.title-left {justify-content:flex-start;} .widget-title.title-right {justify-content:flex-end;} .widget-title.title-center {justify-content:center;} .widget-title.title-left .title-group {text-align:left;} .widget-title.title-right .title-group {text-align:right;} .widget-title.title-center .title-group {text-align:center;} /* 흰 배경/그림자는 바 자체에 둔다 */ #bottom-quick-bar { position: fixed; left: 0; bottom: 0; width: 100%; z-index: 900; background: #fff; box-shadow: 0 -2px 8px rgba(0,0,0,0.12); } /* 컨테이너: [고정 핸들][가로스크롤 콘텐츠]. 핸들은 스크롤과 무관하게 좌측 고정 */ #bottom-quick-bar .container { position: relative; display: flex; align-items: stretch; padding: 0; max-width: none; margin: 0; } #bottom-quick-bar .qb-handle { position: static; flex: 0 0 auto; z-index: 2; box-sizing: content-box; width: 48px; height: 68px; padding-bottom: env(safe-area-inset-bottom, 0px); border: 0; cursor: pointer; background: rgba(0,0,0,0.55); color: #fff; border-radius: 0; display: flex; align-items: center; justify-content: center; } #bottom-quick-bar .qb-handle i { margin: 0; font-size: 1.4rem; } /* 가로로 긴 콘텐츠 = 가로 스크롤 */ #bottom-quick-bar .qb-inner { flex: 1 1 auto; min-width: 0; box-sizing: content-box; display: flex; align-items: center; gap: 0; height: 68px; margin: 0; padding: 0 6px env(safe-area-inset-bottom, 0px); overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; /* 배경/그림자는 #bottom-quick-bar 로 이전(바닥 1px 틈 방지) */ scrollbar-width: none; } #bottom-quick-bar .qb-inner::-webkit-scrollbar { display: none; } /* PC 프리뷰 마우스 드래그 스크롤 */ #bottom-quick-bar .qb-inner { cursor: grab; } #bottom-quick-bar .qb-inner.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; } #bottom-quick-bar .qb-inner input { cursor: text; } #bottom-quick-bar .qb-home { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 6px; background: var(--point-color); color: #fff; border-radius: 4px; font-size: 0.6875rem; text-decoration: none; } #bottom-quick-bar .qb-home i { margin: 0 0 3px; font-size: 1.1rem; line-height: 1; } #bottom-quick-bar .qb-home span, #bottom-quick-bar .qb-item span { line-height: 1; } #bottom-quick-bar .qb-search { flex: 0 0 210px; height: 68px; padding: 0 4px 0 8px; position: relative; display: flex; align-items: center; } #bottom-quick-bar .qb-search .ui.input { width: 100%; } #bottom-quick-bar .qb-search input { width: 100%; height: 34px; box-sizing: border-box; padding: 0 30px 0 14px; border: 1.5px solid var(--point-color); border-radius: 17px; background: #f6f6f6; font-size: 0.875rem; } #bottom-quick-bar .qb-search-btn { position: absolute; top: 50%; transform: translateY(-50%); right: 4px; width: 28px; height: 34px; border: 0; background: none; cursor: pointer; color: var(--point-color); } #bottom-quick-bar .qb-search-btn i { margin: 0; font-size: 1.2rem; } #bottom-quick-bar .qb-item { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 52px; height: 68px; padding: 8px 10px; color: #666; font-size: 0.6875rem; font-weight: 500; text-decoration: none; position: relative; } #bottom-quick-bar .qb-item i { margin: 0 0 4px; font-size: 1.2rem; line-height: 1; } #bottom-quick-bar .qb-badge { position: absolute; top: 11px; right: 6px; min-width: 18px; height: 18px; padding: 0 3px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; background: #06bbaf; color: #fff; font-size: 0.625rem; font-weight: 700; line-height: 1; border-radius: 999px; } #bottom-quick-bar .qb-recent { flex: 0 0 auto; display: flex; align-items: center; height: 68px; gap: 4px; padding: 0 8px; border-left: 1px solid rgba(0,0,0,0.06); } #bottom-quick-bar .qb-thumb { display: block; width: 36px; height: 36px; border: 1px solid #eee; overflow: hidden; border-radius: 4px; } #bottom-quick-bar .qb-thumb img { width: 100%; height: 100%; object-fit: cover; } #bottom-quick-bar .qb-thumb .no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #f5f5f5; color: #d1d1d1; font-size: 1rem; } #bottom-quick-bar .qb-more { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-left: 8px; margin-right: 8px; border: 1px solid #666; border-radius: 50%; color: #666; text-decoration: none; } #bottom-quick-bar .qb-more i { margin: 0; font-size: 0.9rem; } #bottom-quick-bar .qb-right-first { border-left: 1px solid rgba(0,0,0,0.06); } #bottom-quick-bar .qb-scroll { flex: 0 0 auto; width: 44px; height: 44px; margin: 0 6px; border: 0; cursor: pointer; background: #404d69; color: #fff; border-radius: 4px; } #bottom-quick-bar .qb-scroll i { margin: 0; font-size: 1.15rem; } #bottom-quick-bar .qb-scroll.to-top i { transform: rotate(180deg); } /* 접힘: 콘텐츠 숨김, 핸들만 남겨 재펼침. 접힌 바가 하단 탭 가로채지 않게 통과 */ #bottom-quick-bar.collapsed .qb-inner { display: none; } #bottom-quick-bar.collapsed .qb-handle i { transform: rotate(180deg); } #bottom-quick-bar.collapsed { pointer-events: none; background: transparent; box-shadow: none; } #bottom-quick-bar.collapsed .qb-handle { pointer-events: auto; } /* 흐름상 spacer: 바 높이만큼 문서 하단 공간 확보(접히면 0) */ .qb-spacer { height: calc(68px + env(safe-area-inset-bottom, 0px)); } .qb-spacer.collapsed { height: 0; } body:has(#view-page) #bottom-quick-bar, body:has(#view-page) .qb-spacer { display: none; } /* 하단 고정 메뉴바 */ body:has(#view-page) .mobile-bottom-toolbar, body:has(#cart-page) .mobile-bottom-toolbar { display: none; } .mobile-bottom-toolbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 500; background: #fff; border-top: 1px solid #ddd; transition: transform 0.25s ease; transform: translateY(0); width:100%; } .mobile-bottom-toolbar.toolbar-hidden { transform: translateY(150%); } .mobile-bottom-toolbar .bottom-toolbar-group { display: flex; align-items: flex-end; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); width:100%; } .mobile-bottom-toolbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: 1; min-width: 0; padding: 2px 2px; text-decoration: none; color: #999; } .mobile-bottom-toolbar a i { font-size: 1.5625rem; line-height: 1; font-weight:100; margin:0; padding:0; color:#111; } .mobile-bottom-toolbar a span { font-size: 0.625rem; font-weight: 500; letter-spacing:-0.02em; white-space: nowrap; line-height:1; margin:0; padding:0; } /* 클릭/활성 상태 (현재 페이지에 해당하는 탭에 .on 클래스를 붙여서 사용) */ .mobile-bottom-toolbar a.on { color: #111; } .mobile-bottom-toolbar a:active { opacity: 0.6; } .mobile-bottom-toolbar a.toolbar-center, .mobile-bottom-toolbar button.toolbar-center { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: 1; min-width: 0; padding: 2px 2px; color: #7c4dff; text-decoration: none; /* button 기본 스타일 제거 */ appearance: none; -webkit-appearance: none; border: none; background: none; font-family: inherit; cursor: pointer; } .mobile-bottom-toolbar a.toolbar-center i, .mobile-bottom-toolbar button.toolbar-center i { position: relative; z-index: 1; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); border-radius: 50%; margin-top: -26px; box-shadow: 0 6px 14px rgba(124, 77, 255, 0.35); transition: transform 0.15s ease; } .mobile-bottom-toolbar a.toolbar-center span, .mobile-bottom-toolbar button.toolbar-center span { margin-top: -2px; color: #333; font-weight: 700; font-size: 0.625rem; } .mobile-bottom-toolbar a.toolbar-center:active i, .mobile-bottom-toolbar button.toolbar-center:active i { transform: scale(0.94); } /* 은은한 펄스 효과로 시선을 끌게 */ .mobile-bottom-toolbar a.toolbar-center i::after, .mobile-bottom-toolbar button.toolbar-center i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; animation: toolbar-ai-pulse 2.4s ease-out infinite; } @keyframes toolbar-ai-pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0; } } /* 하단 툴바에 가려지지 않도록, 페이지 최하단에 여백 확보용 클래스 */ .mobile-bottom-toolbar-spacer { height: 58px; height: calc(58px + env(safe-area-inset-bottom, 0px)); } /* 카테고리 전체화면 레이어 */ .category-layer { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000; background: #fff; display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.28s ease; visibility: hidden; } .category-layer.open { transform: translateY(0); visibility: visible; } /* 헤더 (제목 + 닫기) */ .category-layer-header { flex-shrink: 0; display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 14px; border-bottom: 1px solid #f0f1f3; } .category-layer-header h2 { margin: 0; font-size: 18px; font-weight: 700; color: #111; } .category-layer-close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: none; background: none; font-size: 2rem; color: #999; cursor: pointer; flex-shrink: 0; } /* 우측 액션(언어 드롭다운 + 닫기) */ .category-layer-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; } /* 언어 스위처(모바일 전체메뉴) — X버튼 왼쪽. hover 없는 모바일이라 탭 토글(.open) */ .category-lang-switcher { position: relative; } .category-lang-switcher .lang-toggle { display: flex; align-items: center; gap: 1px; height: 32px; padding: 0 4px; border: none; background: none; color: #777; cursor: pointer; line-height: 1; } .category-lang-switcher .lang-toggle > i:first-child { font-size: 1.375rem; } .category-lang-switcher .lang-toggle .caret { font-size: 1rem; transition: transform 0.2s ease; } .category-lang-switcher.open .lang-toggle { color: #111; } .category-lang-switcher.open .lang-toggle .caret { transform: rotate(180deg); } .category-lang-switcher .lang-menu { position: absolute; top: 100%; right: 0; z-index: 1100; min-width: 130px; margin: 4px 0 0; padding: 5px 0; list-style: none; background: #fff; border: 1px solid #ddd; border-radius: 6px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity 0.15s ease, transform 0.15s ease; } .category-lang-switcher.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); } .category-lang-switcher .lang-menu li { padding: 0; } .category-lang-switcher .lang-menu .lang-item { display: block; padding: 10px 16px; color: #555; font-size: 0.9375rem; line-height: 1.3; text-decoration: none; white-space: nowrap; } .category-lang-switcher .lang-menu .lang-item.active { font-weight: 700; color: #111; } .category-layer-header .auth-info { margin-bottom: 0; padding-right: 8px; } .category-layer-header .auth-info h2 { margin: 0 0 0.375rem 0; } .category-layer-auth-btns { flex-shrink: 0; width: auto; padding: 12px 14px; border-bottom: 1px solid #f0f1f3; } /* 본문 스크롤/패널 전환 컨테이너 */ .category-layer-body { flex: 1; display: flex; flex-direction: column; overflow: hidden; /* 내부 .cat-panel 에서 각자 스크롤 처리 */ min-height: 0; padding-bottom: calc(0 + env(safe-area-inset-bottom, 0px)); } .category-layer-body ul { list-style: none; margin: 0; padding: 0; } /* 대분류(depth1) */ .cat-depth1 { border-bottom: 1px solid #f5f5f5; } .cat-depth1 > .cat-link { display: flex; align-items: center; gap: 6px; padding: 14px; font-size: 15px; font-weight: 600; color: #111; text-decoration: none; } .cat-depth1 > .cat-link .cat-favorite { font-size: 12px; color: #ffb800; } .cat-toggle-icon { margin-left: auto; font-size: 18px; color: #999; transition: transform 0.2s ease; } /* 펼쳐진 상태 표시 */ .cat-depth1.expanded > .cat-link .cat-toggle-icon { transform: rotate(180deg); color: #111; } /* 소분류(depth2) — 기본은 접힘 */ .cat-depth2 { max-height: 0; overflow: hidden; background: #f8f8f8; transition: max-height 0.25s ease; } .cat-depth1.expanded > .cat-depth2 { max-height: 1000px; /* 넉넉하게. JS로 정확한 높이를 줘도 됨 */ } .cat-depth2 li a { display: block; padding: 11px 14px 11px 28px; font-size: 14px; color: #555; text-decoration: none; } .cat-depth2 li a:active { background: #f0f0f0; } /* body 스크롤 잠금(레이어 열렸을 때) */ body.category-layer-active { overflow: hidden; } /* 카테고리 레이어 - 상단 탭 */ .category-tabs { flex-shrink: 0; display: flex; } .cat-tab { flex: 1; padding: 14px 0; border: none; background: none; font-size: 15px; font-weight: 600; color: #999; border-bottom: 1px solid #eee; cursor: pointer; } .cat-tab.active { padding: 0; padding-bottom: 1px; color: #111; border-bottom: 2px solid var(--point-color); } .cat-panel { display: none; flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; } .cat-panel.active { display: flex; flex-direction: column; } /* 전체 서비스 패널 (단일 리스트 사용 시) */ .cat-service-list { list-style: none; margin: 0; padding: 0; } .cat-service-list li a { display: block; padding: 14px; font-size: 15px; color: #333; text-decoration: none; border-bottom: 1px solid #f5f5f5; } /* 쇼핑카테고리 좌/우 2단 */ .cat-shop-wrap { flex: 1; display: flex; min-height: 0; } /* 좌측 대분류 */ .cat-main-list { list-style: none; margin: 0; padding: 0; width: 88px; flex-shrink: 0; background: #fafafa; overflow-y: auto; -webkit-overflow-scrolling: touch; border-right: 1px solid #eee; } .cat-main-item a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px 4px; text-decoration: none; color: #555; font-size: 0.8125rem; line-height: 1.3; text-align: center; border-left: 3px solid transparent; border-bottom: 1px solid #eee; } .cat-main-icon { width: 32px; height: 32px; display: block; object-fit: contain; margin: 0 auto; } /* 선택된 대분류 강조 */ .cat-main-item.active { background: #fff; } .cat-main-item.active a { color: var(--point-color); font-weight: 700; border-left-color: var(--point-color); } /* 우측 소분류 */ .cat-sub-panels { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; min-width: 0; } .cat-sub-list { list-style: none; margin: 0; padding: 0; display: none; } .cat-sub-list.active { display: block; } .cat-sub-list li a { display: flex; align-items: center; justify-content: space-between; padding: 15px 14px 15px 15px; font-size: 0.875rem; color: #333; text-decoration: none; border-bottom: 1px solid #f2f2f2; } /* 텍스트+별을 하나의 그룹으로 묶어서 왼쪽에 붙임 */ .cat-sub-list li a .cat-sub-text-wrap { display: flex; align-items: center; gap: 4px; min-width: 0; } .cat-sub-list li a .ri-star-fill { font-size: 12px; color: #ffb800; flex-shrink: 0; padding-left: 5px; } .cat-sub-list li a i.ri-arrow-right-s-line { font-size: 18px; color: #ccc; } /* 대분류 자기 자신 링크(전체보기) 강조 */ .cat-sub-list li.cat-sub-all a { font-weight: 700; color: #111; padding-left: 15px; } /* 전체 서비스 패널 - 섹션 그룹(제목 + 2단 그리드) */ .cat-panel-service { padding: 8px 14px 24px; } .service-section { padding: 20px 0; border-bottom: 1px solid #f0f1f3; } .service-section:last-child { border-bottom: none; } .service-section-title { margin: 0 0 12px; font-size: 1rem; font-weight: 600; color: #111; } .service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2단 균등 분할, 콘텐츠에 밀리지 않게 */ column-gap: 12px; row-gap: 16px; } .service-grid li a { display: flex; align-items: center; gap: 8px; min-width: 0; text-decoration: none; color: #333; font-size: 0.875rem; font-weight: 500; } .service-grid li a i { flex-shrink: 0; font-size: 17px; color: #666; } .service-grid li a span { position:relative; white-space: nowrap; } .service-grid li a span img { position:relative; top:2px; width:18px; height:16px; } .service-grid li a:active { opacity: 0.6; } .service-grid li a span.label { border-radius: 30px; padding: 5px 7px; font-size: 11px; } /* 스크롤바 숨기기 */ .cat-panel-service, .cat-main-list, .cat-sub-panels { -ms-overflow-style: none; scrollbar-width: none; /* Firefox */ } .cat-panel-service::-webkit-scrollbar, .cat-main-list::-webkit-scrollbar, .cat-sub-panels::-webkit-scrollbar { display: none; /* Chrome, Safari, Edge(Chromium) */ } /* 주소 찾기 우편번호 입력칸 */ .ui.action.input > input.zipcode-input { flex: 0 0 auto !important; width: 120px !important; min-width: 0 !important; max-width: 120px !important; } /* ── 해외(비한국어) 국가/국가번호 셀렉트 — 전화입력과 한 줄 배치 (다국어 확장) ── */ .intl-phone-group { display: flex; gap: 6px; align-items: stretch; } /* 닫힘 표시가 '+82' 뿐이라 좁게 고정한다. 모바일은 입력 폰트가 커서 110px. Fomantic 의 min-width 14em 을 이겨야 해서 특이도를 올린다 */ .intl-phone-group .ui.selection.dropdown.intl-dial-select { flex: 0 0 110px; width: 110px; min-width: 110px; max-width: 110px; white-space: nowrap; padding-top: 0; padding-bottom: 0; padding-left: .8em; padding-right: 2em; height: auto; min-height: 0; align-self: stretch; display: flex; align-items: center; } .intl-phone-group .ui.selection.dropdown.intl-dial-select > input.search { padding-top: 0; padding-bottom: 0; padding-left: .8em; height: 100%; } /* 목록은 국가명 전체라 닫힘 폭과 따로 논다 */ .intl-phone-group .ui.selection.dropdown.intl-dial-select > .menu { min-width: 240px; width: auto; } /* 입력이 남는 폭을 통째로 먹어 과대해지지 않게 최대폭 캡(전화번호 길이 기준) */ .intl-phone-group .ui.input { flex: 1 1 auto; min-width: 0; max-width: 320px; display: flex; } .intl-phone-group .ui.input > input { width: auto; flex: 1 1 auto; min-width: 0; } .intl-phone-group .ui.action.input > .button { flex: 0 0 auto; } /* 폼 안에서는 Fomantic 이 width:auto·min-width:auto 를 더 센 선택자로 걸어 둔다. 그보다 세게 잡아야 폭이 내용만큼 줄지 않는다 */ .ui.selection.dropdown.intl-country-select, .ui.form .field > .ui.selection.dropdown.intl-country-select, .ui.form .inline.fields .field > .ui.selection.dropdown.intl-country-select { flex: 1 1 auto; width: 100%; min-width: 200px; } .intl-phone-group + .intl-phone-group { margin-top: 8px; } /* 신청폼 해외 우편번호 */ #seller-apply input[name="companyZipcode"]:not([readonly]), #apply-apply input[name="companyZipcode"]:not([readonly]), #info-page input[name="zipcode"]:not([readonly]) { max-width: 180px; } /* 상품카드 스타일 10종 (MOBILE) */ .product.list .item[class*="gs-style"] .description {display:flex; flex-direction:column;} /* style2 : 상품번호 왼쪽 · 찜 하트 오른쪽 한 줄 */ .product.list .item.gs-style2 .description .action-row {display:flex; align-items:center; justify-content:space-between; gap:6px;} .product.list .item.gs-style2 .description .action-row .code {font-size:0.625rem; color:#868e96;} /* ── style3 : 코드를 상품명 아래로 (상품명 우선) ── */ .product.list .item.gs-style3 .description .info {order:1;} .product.list .item.gs-style3 .description .action-row {order:2;} .product.list .item.gs-style3 .description .price-area {order:3;} .product.list .item.gs-style3 .description .action-row .code {font-size:0.625rem; color:#adb5bd;} /* ── style4 : 가격을 상품명 위로 ── */ .product.list .item.gs-style4 .description .action-row {order:1;} .product.list .item.gs-style4 .description .price-area {order:2;} .product.list .item.gs-style4 .description .info {order:3;} .product.list .item.gs-style4 .description .price-area .price {font-weight:700;} /* ── style5 : 가운데 정렬 ── */ .product.list .item.gs-style5 .description {text-align:center;} .product.list .item.gs-style5 .description .info {align-items:center;} .product.list .item.gs-style5 .description .action-row {justify-content:center; gap:6px;} .product.list .item.gs-style5 .description .price-area {text-align:center;} /* ── style6 : 썸네일 라운드 + 상품명 굵게 + 코드 테두리 배지 ── */ .product.list .item.gs-style6 .thumbnail {border-radius:10px; overflow:hidden;} .product.list .item.gs-style6 .description .action-row .code {padding:1px 6px; font-size:0.625rem; color:#495057; border:1px solid #dee2e6; border-radius:4px;} .product.list .item.gs-style6 .description .info .name {font-weight:700;} /* style7 : 상품명 2줄 고정 + 가격 크게 */ .product.list .item.gs-style7 .description .action-row .code {font-size:0.625rem; color:#868e96;} .product.list .item.gs-style7 .description .info .name {display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.9em;} .product.list .item.gs-style7 .description .price-area .price {font-size:1.0625rem; font-weight:800;} /* ── style8 : 상품명 아래 구분선 + 가격 우측 정렬 ── */ .product.list .item.gs-style8 .description .info {padding-bottom:6px; border-bottom:1px solid #eee;} .product.list .item.gs-style8 .description .price-area {margin-top:6px; text-align:right;} /* ── style9 : 테두리 박스 카드 ── */ .product.list .item.gs-style9 .box {padding:8px; border:1px solid #eee; border-radius:8px; background:#fff;} .product.list .item.gs-style9 .description {padding-top:7px;} /* 한 줄 안의 카드 테두리 높이 맞춤 */ .product.list .item.gs-style9 {height:100%;} .product.list .item.gs-style9 > .box {display:flex; flex-direction:column; height:100%; box-sizing:border-box;} .product.list .item.gs-style9 > .box > .thumbnail {flex:0 0 auto;} .product.list .item.gs-style9 > .box > .description {display:flex; flex-direction:column; flex:1 1 auto; min-width:0;} .product.list .item.gs-style9 > .box > .description > ul.price-area {margin-top:auto;} /* ── style10 : 코드를 상품명 아래 테두리 배지로 + 가격 강조 ── */ .product.list .item.gs-style10 .description .info {order:1;} .product.list .item.gs-style10 .description .action-row {order:2; justify-content:flex-start;} .product.list .item.gs-style10 .description .price-area {order:3;} .product.list .item.gs-style10 .description .action-row .code {padding:2px 7px; font-size:0.625rem; font-weight:600; color:#495057; background:#fff; border:1px solid #dee2e6; border-radius:4px;} .product.list .item.gs-style10 .description .price-area .price {font-weight:700; color:#111;} /* 혜택 뱃지 (컬러인쇄·인쇄무료·무료배송 등) */ /* 모바일도 같은 사정 — 설명영역 li 규칙이 뱃지를 키우고 세로로 쌓는다. 선택자를 같은 형태로 얹는다. */ .product.list .item .description ul.benefit-badges, .benefit-badges {display:flex; flex-wrap:wrap; align-items:center; gap:4px; margin:6px 0 0; padding:0; list-style:none; font-size:0;} .product.list .item .description ul.benefit-badges:before {display:none;} .product.list .item .description ul.benefit-badges > li.badge, .benefit-badges .badge {display:inline-block; width:auto; margin:0; padding:3px 8px; font-size:0.625rem; font-weight:600; line-height:1.3; letter-spacing:-0.01em; border-radius:4px; white-space:nowrap;} /* 인쇄/제작 계열 — 붉은 톤 */ .benefit-badges .gb-colorPrint {color:#e03131; background:#fff0f0;} .benefit-badges .gb-customMade {color:#e8590c; background:#fff4e6;} .benefit-badges .gb-domestic {color:#2f9e44; background:#ebfbee;} .benefit-badges .gb-event {color:#c2255c; background:#fff0f6;} /* 무료 제공 계열 — 회색 톤(혜택이 여러 개 붙어도 시끄럽지 않게) */ .benefit-badges .gb-free-print, .benefit-badges .gb-free-case, .benefit-badges .gb-free-gift, .benefit-badges .gb-free-sticker, .benefit-badges .gb-free-label {color:#495057; background:#f1f3f5;} /* 무료배송 — 파란 톤(가장 강한 구매 유인) */ .benefit-badges .gb-freeShip {color:#1971c2; background:#e7f5ff;} /* ── style11 : 코드를 진한 알약 배지로 ── */ .product.list .item.gs-style11 .description .action-row .code {padding:2px 7px; font-size:0.625rem; color:#fff; background:#495057; border-radius:10px;} /* 기본형(style1)·클래스 미지정은 혜택 뱃지 미노출 */ .product.list .item.gs-style1 .description ul.benefit-badges, .product.list .item:not([class*="gs-style"]) .description ul.benefit-badges {display:none;} /* ===== 상품카드 특가 표기 (공통 import_product_items) — PC 와 동일 규약 ===== ★flex 금지: 카드스타일마다 text-align 이 달라 금액줄만 어긋난다. inline 흐름으로 둔다. */ .product.list ul.grid li.item .price-area li.price .special-sale-badge { display:inline-block; margin-right:4px; padding:1px 6px; border-radius:999px; background:var(--point-color); color:#fff; font-size:0.688rem; font-weight:700; font-style:normal; line-height:1.4; vertical-align:middle; } .product.list ul.grid li.item .price-area li.price .special-sale-price {vertical-align:middle;} .product.list ul.grid li.item .price-area li.price .deal-origin { display:inline-block; margin-left:4px; font-size:0.8em; font-weight:400; color:#bdbdbd; text-decoration:line-through; vertical-align:middle; } .product.list ul.grid li.item .price-area li.price .deal-origin .money, .product.list ul.grid li.item .price-area li.price .deal-origin .prefix, .product.list ul.grid li.item .price-area li.price .deal-origin .suffix { font-size:inherit; font-weight:inherit; color:inherit; } .product.list ul.grid li.item .price-area li.deal-remain { margin-top:3px; font-size:0.75rem; color:#e20000; font-weight:600; font-variant-numeric:tabular-nums; font-feature-settings:'tnum'; } .product.list ul.grid li.item .price-area li.deal-remain .ended {color:#999; font-weight:400;} /* 이미지 유사검색 결과 */ /* 업로드 로딩 오버레이 */ .image-search-loading-overlay { display: none; /* JS 가 flex 로 표시 */ position: fixed; inset: 0; z-index: 9100; align-items: center; justify-content: center; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); } .image-search-loading-overlay .isl-box { text-align: center; padding: 24px; max-width: 80%; } .image-search-loading-overlay .isl-preview img { width: 160px; height: 160px; object-fit: cover; border-radius: 16px; border: 1px solid #eee; background: #f8f8f8; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); display: block; margin: 0 auto 18px; } .image-search-loading-overlay .isl-status { display: inline-flex; align-items: center; gap: 8px; color: #555; font-size: 0.9375rem; font-weight: 600; } /* Fomantic inline loader 가 텍스트 baseline 에 맞게 */ .image-search-loading-overlay .isl-status .loader { margin: 0; } /* ── 결과 페이지 헤더 ── */ .image-search-result-head { display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 4px; } .image-search-result-head .uploaded img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; border: 1px solid #eee; background: #f8f8f8; display: block; } .image-search-result-head .summary h2 { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 700; color: #222; } .image-search-result-head .summary .total-count { margin: 0; font-size: 0.8125rem; color: #666; } .image-search-result-head .summary .total-count strong { color: var(--point-color); } /* 이미지 제출 동의 안내 */ .image-search-privacy { margin: 0 0 10px; padding: 0 16px; font-size: 0.75rem; line-height: 1.5; color: #999; } .image-search-privacy a { text-decoration: underline; color: #026bff; } /* 유사도(관련도) 배지 — 상품 카드 썸네일 위 */ .product.list .thumbnail { position: relative; } .product.list .thumbnail .similarity-badge { position: absolute; top: 8px; left: 8px; z-index: 2; background: rgba(0, 0, 0, .68); color: #fff; font-size: 0.6875rem; font-weight: 700; padding: 3px 7px; border-radius: 10px; } /* 더보기 */ .image-search-more { margin: 20px 16px 10px; } .image-search-more .btn-image-search-more { width: 100%; margin: 0; padding: 14px 0; border: 1px solid #ddd; border-radius: 10px; background: #fff; color: #333; font-size: 0.9375rem; font-weight: 600; } /* 제안(유사 카테고리) 섹션 */ .image-search-suggest { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; } .image-search-suggest .suggest-title { padding: 0 16px; margin: 0 0 14px; font-size: 1rem; font-weight: 700; color: #333; } /* 연관 카테고리 가로 스크롤 칩 */ .image-search-categories { margin: 2px 0 16px; } .image-search-categories .cat-label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #333; } .image-search-categories .cat-chips { list-style: none; margin: 0; padding: 2px 0; display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .image-search-categories .cat-chips::-webkit-scrollbar { display: none; } .image-search-categories .cat-chips li { margin: 0; flex: 0 0 auto; } .image-search-categories .cat-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid #e2e2e2; border-radius: 18px; background: #fff; color: #444; font-size: 13px; line-height: 1; text-decoration: none; white-space: nowrap; } .image-search-categories .cat-chips a:active { border-color: #b142d6; color: #b142d6; background: #faf3fd; } .image-search-categories .cat-chips a .count { font-size: 11px; font-weight: 700; color: #b0b0b0; } /* 제목 옆 AD 뱃지(광고 고지) */ .image-search-suggest .suggest-title .suggest-ad { display: inline-block; margin-left: 6px; padding: 2px 6px; border: 1px solid #c9cfda; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #8a93a6; line-height: 1; vertical-align: middle; } .image-search-categories .cat-label { padding: 0 16px; } .image-search-categories .cat-chips { padding: 2px 16px; } #image-search-result-page { padding-bottom: 28px; } /* AI 추천 채팅: 검색 버튼 + 우측 슬라이드 패널 */ /* 통합검색 우측 AI 추천 라운드 버튼 */ :root{ --ai-purple:linear-gradient(135deg,#6a5bd0 0%,#8b5cf0 55%,#3c7de0 100%); } /* 모바일 헤더 컴팩트 AI 버튼 */ .ai-reco-open-mobile{ align-self:center; display:inline-flex; align-items:center; justify-content:center; height:26px; padding:0 10px; margin-left:8px; border:none; border-radius:999px; cursor:pointer; background:var(--ai-purple); box-shadow:0 2px 6px rgba(90,70,200,.30); -webkit-tap-highlight-color:transparent; transition:transform .15s ease, box-shadow .2s ease; } .ai-reco-open-mobile .ai-txt{ font-size:12px; font-weight:800; letter-spacing:.4px; line-height:1; color:#fff; } .ai-reco-open-mobile:active{ transform:scale(.93); box-shadow:0 1px 3px rgba(90,70,200,.30); } .ai-reco-open-btn{ align-self:center; position:relative; /* 빛 테두리(::before/::after) 기준 + 스태킹 격리 */ isolation:isolate; display:inline-flex; align-items:center; gap:6px; height:44px; padding:0 18px; margin-left:10px; border:none; border-radius:999px; cursor:pointer; background:#fff; /* 기본 흰 바탕 */ font-size:14px; font-weight:700; white-space:nowrap; transition:background .3s ease, transform .18s cubic-bezier(.33,1,.68,1), box-shadow .3s ease, filter .3s ease; } /* 글자·이모지: 기본은 보라 그라데이션(배경을 글자모양으로 클립) */ .ai-reco-open-btn i, .ai-reco-open-btn .txt{ position:relative; z-index:1; background:var(--ai-purple); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; transition:-webkit-text-fill-color .3s ease, color .3s ease; } .ai-reco-open-btn i{ font-size:18px; line-height:1; } /* 테두리 링(::before)과 바깥 후광(::after), 순수 CSS 마스크 */ @property --ai-ring-angle{ syntax:'<angle>'; initial-value:0deg; inherits:false; } .ai-reco-open-btn::before, .ai-reco-open-btn::after{ content:''; position:absolute; inset:-1px; border-radius:inherit; padding:1.5px; /* 링 두께(얇게) */ background:var(--ai-purple); /* 기본: 보라 그라데이션 테두리 */ /* content-box(안쪽)만 빼서 테두리 링만 남김 → 중앙 투명 */ -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite:xor; mask-composite:exclude; transition:opacity .3s cubic-bezier(.33,1,.68,1); pointer-events:none; } /* 후광은 기본 숨김(크게+블러) */ .ai-reco-open-btn::after{ inset:-4px; padding:2.5px; filter:blur(5px); opacity:0; } /* 무지개 회전 링(호버 상태에서만 conic 으로 교체 + 회전) */ .ai-reco-open-btn:hover::before, .ai-reco-open-btn:focus-visible::before, .ai-reco-open-btn:hover::after, .ai-reco-open-btn:focus-visible::after{ background:conic-gradient(from var(--ai-ring-angle), transparent 0 6%, #00d8c0 20%, #0094ff 40%, #22d3ee 60%, #8a5cff 78%, #00d8c0 90%, transparent 94% 100%); animation:ai-ring-spin 2.6s linear infinite; } /* 호버: 색상 반전 — 보라 그라데이션 배경 + 흰 글자/이모지 */ .ai-reco-open-btn:hover, .ai-reco-open-btn:focus-visible{ background:var(--ai-purple); transform:translateY(-1px); box-shadow:0 6px 18px rgba(90,70,200,.35); } .ai-reco-open-btn:hover i, .ai-reco-open-btn:focus-visible i, .ai-reco-open-btn:hover .txt,.ai-reco-open-btn:focus-visible .txt{ background:none; -webkit-text-fill-color:#fff; color:#fff; } .ai-reco-open-btn:hover::after, .ai-reco-open-btn:focus-visible::after{ opacity:.85; } .ai-reco-open-btn:active{ transform:translateY(0); } @keyframes ai-ring-spin{ to{ --ai-ring-angle:360deg; } } /* 모션 최소화 환경: 회전만 정지(반전/테두리는 유지) */ @media (prefers-reduced-motion:reduce){ .ai-reco-open-btn:hover::before, .ai-reco-open-btn:hover::after, .ai-reco-open-btn:focus-visible::before, .ai-reco-open-btn:focus-visible::after{ animation:none; } } /* 배경 딤 (z-index 1000: 퀵메뉴 위, 모달 아래) */ .ai-reco-backdrop{ position:fixed; inset:0; z-index:1000; background:rgba(20,22,30,.42); opacity:0; visibility:hidden; transition:opacity .25s, visibility .25s; } .ai-reco-backdrop.open{ opacity:1; visibility:visible; } /* ── 우측 슬라이드 패널 (화면 절반) ── */ .ai-reco-panel{ position:fixed; top:0; right:0; z-index:1000; width:50vw; min-width:360px; max-width:560px; height:100%; background:#f7f8fc; display:flex; flex-direction:column; transform:translateX(100%); transition:transform .3s cubic-bezier(.22,.61,.36,1); } /* 그림자는 열렸을 때만 — 숨겨진 상태에서 가장자리로 새는 그림자 방지(플랫) */ .ai-reco-panel.open{ transform:translateX(0); box-shadow:-12px 0 40px rgba(20,22,30,.18); } .ai-reco-head{ flex:none; display:flex; align-items:center; gap:8px; padding:16px 18px; border-bottom:1px solid #e7e9f2; background:#fff; } .ai-reco-title{ display:flex; align-items:center; gap:7px; font-size:16px; font-weight:800; color:#3a3f55; } .ai-reco-title i{ color:#5b6bd8; font-size:20px; } .ai-reco-reset{ margin-left:auto; width:34px; height:34px; border:none; background:transparent; color:#9aa0b3; cursor:pointer; border-radius:50%; font-size:18px; line-height:1; display:flex; align-items:center; justify-content:center; } .ai-reco-reset:hover{ background:#eef0f7; color:#5b6bd8; } .ai-reco-close{ width:34px; height:34px; border:none; background:transparent; color:#9aa0b3; cursor:pointer; border-radius:50%; font-size:22px; line-height:1; display:flex; align-items:center; justify-content:center; } .ai-reco-close:hover{ background:#eef0f7; color:#555; } /* ── 대화 영역 ── */ .ai-reco-body{ flex:1; min-height:0; overflow-y:auto; padding:18px; display:flex; flex-direction:column; gap:12px; scroll-behavior:smooth; } .ai-reco-msg{ display:flex; } .ai-reco-msg .bubble{ max-width:88%; padding:11px 14px; border-radius:15px; font-size:14.5px; line-height:1.62; white-space:pre-wrap; word-break:break-word; } .ai-reco-msg.user{ justify-content:flex-end; } .ai-reco-msg.user .bubble{ background:#4a5bd0; color:#fff; border-bottom-right-radius:5px; } .ai-reco-msg.bot .bubble{ background:#fff; color:#2c2f3d; border-bottom-left-radius:5px; box-shadow:0 1px 3px rgba(20,22,30,.06); } /* 타이핑 인디케이터 */ .ai-reco-typing{ display:inline-flex; gap:4px; align-items:center; } .ai-reco-typing i{ width:7px; height:7px; border-radius:50%; background:#b7bcd0; display:inline-block; animation:aiRecoBlink 1.2s infinite ease-in-out; } .ai-reco-typing i:nth-child(2){ animation-delay:.2s; } .ai-reco-typing i:nth-child(3){ animation-delay:.4s; } @keyframes aiRecoBlink{ 0%,60%,100%{opacity:.25} 30%{opacity:1} } /* ── 상품 카드 (추천 결과) ── */ /* 상품 말풍선은 전체 폭의 80% 로 고정. .bot .bubble 보다 구체도 높게 유지 */ .ai-reco-msg.bot.ai-reco-products-msg .bubble{ width:80%; max-width:80%; padding:0; background:transparent; box-shadow:none; } .ai-reco-products{ display:flex; flex-direction:column; gap:8px; margin-top:2px; } .ai-reco-card{ display:flex; align-items:center; gap:12px; background:#fff; border:1px solid #e7e9f2; border-radius:12px; padding:10px; text-decoration:none; color:inherit; transition:border-color .12s, box-shadow .12s; } .ai-reco-card:hover{ border-color:#c6ccf0; box-shadow:0 4px 12px rgba(74,91,208,.12); } .ai-reco-card .thumb{ flex:none; width:60px; height:60px; border-radius:9px; object-fit:cover; background:#eef0f7; border:1px solid #eceef5; } .ai-reco-card .info{ min-width:0; flex:1; } .ai-reco-card .pname{ font-size:13.5px; font-weight:600; color:#2c2f3d; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; } .ai-reco-card .pprice{ font-size:13px; font-weight:700; color:#4a5bd0; margin-top:3px; } .ai-reco-card .go{ flex:none; color:#b7bcd0; font-size:20px; } /* ── 입력 영역 ── */ .ai-reco-input{ flex:none; border-top:1px solid #e7e9f2; padding:10px 14px 14px; background:#fff; } .ai-reco-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:9px; } .ai-reco-chip{ border:1px solid #d7dbef; background:#f7f8fc; color:#5b6178; border-radius:999px; padding:5px 12px; font-size:12.5px; cursor:pointer; } .ai-reco-chip:hover{ background:#eef0f9; color:#333; } /* 상담 연결 칩: 강조(액센트). 아이콘 정렬. */ .ai-reco-chip-consult{ border-color:#4a5bd0; background:#eef1fc; color:#4a5bd0; font-weight:600; } .ai-reco-chip-consult:hover{ background:#4a5bd0; color:#fff; } .ai-reco-chip-consult i{ font-size:13px; vertical-align:-1px; margin-right:1px; } .ai-reco-input-row{ display:flex; align-items:flex-end; gap:8px; } .ai-reco-input-row textarea{ flex:1; resize:none; border:1px solid #d7dbef; border-radius:12px; padding:11px 13px; font-size:14.5px; font-family:inherit; line-height:1.5; max-height:120px; outline:none; color:#2c2f3d; } .ai-reco-input-row textarea:focus{ border-color:#5b6bd8; box-shadow:0 0 0 3px rgba(91,107,216,.15); } .ai-reco-send{ flex:none; width:44px; height:44px; border:none; border-radius:12px; background:#4a5bd0; color:#fff; cursor:pointer; display:grid; place-items:center; font-size:20px; } .ai-reco-send:hover{ opacity:.92; } .ai-reco-send:disabled{ opacity:.4; cursor:default; } .ai-reco-note{ margin:8px 2px 0; font-size:11.5px; color:#a3a8ba; } /* ── 패널 열릴 때 BODY 스크롤 잠금(다른 레이어처럼 스크롤바 제거) ── */ html.ai-reco-locked, html.ai-reco-locked body{ overflow:hidden !important; } /* 모바일 전체화면: 미디어쿼리 + body[data-device="mobile"] 분기 */ @media (max-width:767px){ .ai-reco-panel{ width:100vw; min-width:0; max-width:none; } .ai-reco-open-btn .txt{ display:none; } .ai-reco-open-btn{ height:40px; padding:0 12px; } } body[data-device="mobile"] .ai-reco-panel{ width:100vw; min-width:0; max-width:none; } body[data-device="mobile"] .ai-reco-open-btn .txt{ display:none; } body[data-device="mobile"] .ai-reco-open-btn{ height:40px; padding:0 14px; } /* ── 상담신청 폼 (채팅 말풍선 내) ── */ .ai-reco-consult{ display:flex; flex-direction:column; gap:8px; } .ai-reco-consult input{ border:1px solid #d7dbef; border-radius:9px; padding:10px 12px; font-size:14px; outline:none; font-family:inherit; color:#2c2f3d; } .ai-reco-consult input:focus{ border-color:#5b6bd8; box-shadow:0 0 0 3px rgba(91,107,216,.15); } .acf-submit{ border:none; border-radius:9px; padding:11px; background:#4a5bd0; color:#fff; font-weight:700; font-size:14px; cursor:pointer; } .acf-submit:hover{ opacity:.92; } .acf-submit:disabled{ opacity:.5; cursor:default; } /* 안내문구는 내용이 있을 때만 노출 */ .acf-msg{ margin:2px 0 0; font-size:12.5px; color:#c0392b; } .acf-msg:empty{ display:none; } .acf-done{ font-size:14px; font-weight:600; color:#2e7d46; padding:6px 2px; } /* ── 최근 주문 다시 주문 (재주문 카드) ───────────────────────────── */ .ai-reco-chip-reorder { border-color: #2185d0; color: #2185d0; } .ai-reco-orders { display: flex; flex-direction: column; gap: 8px; } .ai-reco-order-card { display: flex; align-items: center; gap: 10px; padding: 10px; background: #fff; border: 1px solid #e6e6e6; border-radius: 10px; } .ai-reco-order-card .thumb { width: 48px; height: 48px; flex: 0 0 48px; object-fit: cover; border-radius: 6px; background: #f4f4f4; display: block; } .ai-reco-order-card .info { flex: 1 1 auto; min-width: 0; } .ai-reco-order-card .oname { font-size: 13px; font-weight: 600; color: #222; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ai-reco-order-card .ometa { margin-top: 2px; font-size: 12px; color: #888; } .ai-reco-order-card .oresult { margin-top: 4px; font-size: 12px; } .ai-reco-order-card .oresult:empty { display: none; } .ai-reco-order-card .oresult.is-fail { color: #db2828; } .ai-reco-reorder-btn { flex: 0 0 auto; padding: 7px 12px; font-size: 12px; white-space: nowrap; color: #fff; background: #2185d0; border: 0; border-radius: 6px; cursor: pointer; } .ai-reco-reorder-btn:disabled { opacity: .6; cursor: default; } /* 견적 바구니 액션 */ .ai-reco-msg.bot.ai-reco-basket-msg .bubble { background: transparent; box-shadow: none; padding: 0; } .ai-reco-basket { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; background: #f7f9ff; border: 1px solid #dde5f7; border-radius: 10px; } .ai-reco-basket .bq-label { font-size: 13px; color: #555; } .ai-reco-basket .bq-input { width: 84px; height: 32px; padding: 0 8px; font-size: 13px; text-align: right; border: 1px solid #cbd5e8; border-radius: 6px; background: #fff; } .ai-reco-basket .bq-unit { font-size: 13px; color: #555; margin-right: 4px; } .ai-reco-basket .bq-make { height: 32px; padding: 0 12px; font-size: 12px; font-weight: 600; white-space: nowrap; color: #fff; background: #2185d0; border: 0; border-radius: 6px; cursor: pointer; } .ai-reco-basket .bq-make:disabled { opacity: .6; cursor: default; } /* 결과줄 표시 */ .ai-reco-basket .bq-result { flex: 1 0 100%; margin: 6px 0 0; font-size: 13px; } .ai-reco-basket .bq-result:empty { display: none; } .ai-reco-basket .bq-result.is-fail { color: #db2828; } .ai-reco-basket .bq-go { font-weight: 700; color: #2185d0; text-decoration: underline; } .ai-reco-basket .bq-sum { color: #333; } .ai-reco-basket .bq-drop { color: #999; font-size: 12px; } /* ── 구조화 주문 폼(주문 의도 감지 시) ── */ .ai-reco-orderform { display: flex; flex-direction: column; gap: 8px; } .ai-reco-orderform .of-product { display: flex; gap: 10px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #eee; } .ai-reco-orderform .of-img { width: 48px; height: 48px; object-fit: cover; border: 1px solid #eee; border-radius: 6px; flex: 0 0 auto; } .ai-reco-orderform .of-name { font-size: 13px; font-weight: 600; color: #2c2f3d; line-height: 1.35; } .ai-reco-orderform .of-code { font-size: 11px; color: #999; margin-top: 2px; } .ai-reco-orderform .of-row { display: flex; align-items: center; gap: 8px; } .ai-reco-orderform .of-label { flex: 0 0 66px; font-size: 12px; color: #555; } .ai-reco-orderform .of-label em { color: #db2828; font-style: normal; } .ai-reco-orderform .of-row input, .ai-reco-orderform .of-row select { flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 8px; font-size: 12px; border: 1px solid #cbd5e8; border-radius: 6px; background: #fff; } .ai-reco-orderform .of-inline { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; } /* 확정된 옵션 (읽기전용 표시) */ .ai-reco-orderform .of-opt-text { flex: 1 1 auto; min-width: 0; padding: 6px 0; font-size: 12px; font-weight: 600; color: #2185d0; } .ai-reco-orderform .of-qty-text { flex: 1 1 auto; padding: 6px 0; font-size: 13px; font-weight: 600; color: #2c2f3d; } .ai-reco-orderform .of-request { width: 100%; min-height: 44px; padding: 8px; font-size: 12px; border: 1px solid #cbd5e8; border-radius: 6px; resize: vertical; box-sizing: border-box; } .ai-reco-orderform .of-email-row { display: flex; align-items: center; gap: 4px; margin-top: 6px; } .ai-reco-orderform .of-email-row .of-email-local { flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 8px; font-size: 12px; border: 1px solid #cbd5e8; border-radius: 6px; } .ai-reco-orderform .of-email-row .of-at { color: #888; font-size: 12px; } .ai-reco-orderform .of-email-row .of-email-custom { flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 8px; font-size: 12px; border: 1px solid #cbd5e8; border-radius: 6px; } .ai-reco-orderform .of-email-row .of-email-domain { flex: 0 0 auto; max-width: 130px; height: 32px; padding: 0 6px; font-size: 12px; border: 1px solid #cbd5e8; border-radius: 6px; background: #fff; } .ai-reco-orderform .of-zip-row { display: flex; gap: 6px; margin-top: 6px; } .ai-reco-orderform .of-zip-row .of-zip { flex: 0 0 110px; height: 32px; padding: 0 8px; font-size: 12px; border: 1px solid #cbd5e8; border-radius: 6px; background: #f5f6fa; } .ai-reco-orderform .of-zip-row .of-zipsearch { flex: 0 0 auto; height: 32px; padding: 0 12px; font-size: 12px; font-weight: 600; color: #4a5bd0; background: #eef1fc; border: 1px solid #cbd5e8; border-radius: 6px; cursor: pointer; } .ai-reco-orderform .of-addr1, .ai-reco-orderform .of-addr2 { display: block; width: 100%; height: 32px; margin-top: 6px; padding: 0 8px; font-size: 12px; border: 1px solid #cbd5e8; border-radius: 6px; box-sizing: border-box; } .ai-reco-orderform .of-addr1[readonly] { background: #f5f6fa; } .ai-reco-orderform .of-inline .of-qty { max-width: 90px; } .ai-reco-orderform .of-unit { font-size: 12px; color: #666; } .ai-reco-orderform .of-sec { margin-top: 2px; padding-top: 8px; border-top: 1px solid #eee; } .ai-reco-orderform .of-sec-title { font-size: 12px; font-weight: 700; color: #444; margin-bottom: 6px; } .ai-reco-orderform .of-hint { font-weight: 400; color: #999; } .ai-reco-orderform .of-radio { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #444; margin-right: 12px; cursor: pointer; } .ai-reco-orderform .of-bank { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; padding: 8px; background: #f7f9fc; border-radius: 6px; } .ai-reco-orderform .of-grid { display: flex; flex-wrap: wrap; gap: 6px; } .ai-reco-orderform .of-grid input { flex: 1 1 calc(50% - 3px); height: 32px; padding: 0 8px; font-size: 12px; border: 1px solid #cbd5e8; border-radius: 6px; } .ai-reco-orderform .of-grid .of-wide { flex: 1 1 100%; } .ai-reco-orderform .of-submit { margin-top: 8px; height: 38px; border: 0; border-radius: 8px; background: #4a5bd0; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; } .ai-reco-orderform .of-submit:disabled { opacity: .6; cursor: default; } .ai-reco-orderform .of-result { margin: 6px 0 0; font-size: 12px; } .ai-reco-orderform .of-result.is-fail { color: #db2828; } .ai-reco-orderform .of-result:empty { display: none; } /* 해외 주문폼: 이름 분리, 전화 국가번호, 국가 셀렉트 */ .ai-reco-orderform .of-intl-hp { display: flex; gap: 4px; flex: 1 1 calc(50% - 3px); min-width: 0; } /* 국가번호 셀렉트 폭 80px 통일 */ .ai-reco-orderform .of-intl-hp .of-hp-dial { flex: 0 0 80px; width: 80px; min-width: 80px; max-width: 80px; height: 32px; padding: 0 4px; font-size: 12px; border: 1px solid #cbd5e8; border-radius: 6px; background: #fff; white-space: nowrap; } .ai-reco-orderform .of-intl-hp .of-hp { flex: 1 1 auto; min-width: 0; } .ai-reco-orderform .of-country { flex: 1 1 100%; height: 32px; padding: 0 8px; font-size: 12px; border: 1px solid #cbd5e8; border-radius: 6px; background: #fff; margin-top: 6px; } /* 해외 폼 우편번호는 자유입력이라 회색 배경 해제 */ .ai-reco-orderform .of-zip-row .of-zip:not([readonly]) { background: #fff; } /* PC 모바일 미리보기 폰 크기 프레임 */ /* PART 1 : 프레임 (테마 공통 · 수정하지 말 것) */ /* 프레임 바깥(데스크톱 여백) 배경 */ html:has(body[data-preview="pc"]) { background: #d6dae0 radial-gradient(circle at 50% 0, #eef1f4, #cfd4da 70%) fixed; } body[data-preview="pc"] { --frame-w: 430px; /* 폰 프레임 폭 */ --frame-edge: calc(50% - (var(--frame-w) / 2)); /* 창 기준 프레임 한쪽 가장자리까지의 여백 = fixed 재앵커 기준값 */ --vw: calc(var(--frame-w) / 100); /* vw 재정의 */ /* 콘텐츠 컬럼을 폰 폭으로 */ max-width: var(--frame-w) !important; margin: 0 auto !important; position: relative; } /* 프레임 바깥 커튼: 좌우 여백을 덮어 닫힌 오프캔버스 요소를 가린다 */ body[data-preview="pc"]::before, body[data-preview="pc"]::after { content: ""; position: fixed; top: 0; bottom: 0; width: var(--frame-edge); z-index: 100000; /* 닫힌 사이드바(최고 z 99999) 위 */ background: #d6dae0 radial-gradient(circle at 50% 0, #eef1f4, #cfd4da 70%) fixed; /* auto: 커튼이 클릭을 흡수해 여백 아래 숨은 요소가 눌리지 않게 한다 */ pointer-events: auto; } body[data-preview="pc"]::before { left: 0; } body[data-preview="pc"]::after { right: 0; } /* 상단 미리보기 안내 바: 흐름 내 배치(스크롤 시 함께 이동) */ body[data-preview="pc"] .mobile-preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px; height: 32px; font-size: 12px; font-weight: 600; letter-spacing: .01em; color: #e5e7eb; background: #111827; } body[data-preview="pc"] .mobile-preview-bar a { color: #93c5fd; text-decoration: underline; cursor: pointer; } /* ===== PART 2 : 이 테마의 fixed 요소 재앵커 ===== */ /* [그룹 A] 전체폭 오버레이, 딤, 로딩, 하단바: 좌우를 프레임 가장자리에 맞춰 폭을 프레임으로 */ body[data-preview="pc"] :is( .ui.page.dimmer, .sidebar-dimmer, .all-view-dimmer, .filter-modal-layer, .mobile-facet .facet-dimmer, .mobile-facet .facet-sheet, .mobile-bottom-toolbar, .category-layer, .cart-bottom-bar, #view-page .detail-info .detail-btn-area, .sns-share-sheet, .option-sheet, .image-viewer, .ai-reco-backdrop, .cart-added-dimmer, .cart-added-panel, #loading, #loading-message, #loading-payment-message, .gd-overlay, .gd-gal, .gd-zen-modal, #zen-theme-preview-bar ) { left: var(--frame-edge) !important; right: var(--frame-edge) !important; width: auto !important; } /* [그룹 B] 좌측 오프캔버스 사이드바 : 좌 가장자리를 프레임 좌측으로 */ body[data-preview="pc"] .ui.sidebar.mobile-sidebar { left: var(--frame-edge) !important; } /* [그룹 C] 우측 오프캔버스/패널 */ /* ★:not(.ai-reco-embed) — 이 규칙들은 '화면에 떠 있는 미니 패널'을 프레임 안으로 끌어오려는 것이다. AI 채팅 전체 페이지(/chat)에서는 같은 패널이 본문 안에 박히므로(.ai-reco-embed) 건드리면 안 된다. 빼먹으면 본문 카드가 85% 로 줄고 왼쪽으로 쏠린다. */ body[data-preview="pc"] :is(.ui.right.sidebar.user-sidebar, .ai-reco-panel:not(.ai-reco-embed)) { right: var(--frame-edge) !important; left: auto !important; } body[data-preview="pc"] .ai-reco-panel:not(.ai-reco-embed) { width: min(85%, calc(var(--frame-w) * 0.85)) !important; /* 50vw(창 기준) → 프레임 기준으로 */ min-width: 0 !important; } /* [그룹 D] 우하단 플로팅 버튼 : 창 우측 → 프레임 우측 + 원래 오프셋(10px) */ body[data-preview="pc"] .floating-btns { right: calc(var(--frame-edge) + 10px) !important; } /* [그룹 E] 우상단 토스트 알림 : 창 우측 → 프레임 우측 + 원래 오프셋(20px), 폭도 프레임 안으로 캡 */ body[data-preview="pc"] .ui.alerts { right: calc(var(--frame-edge) + 20px) !important; max-width: calc(var(--frame-w) - 40px) !important; } /* [그룹 F] Fomantic 다이얼로그와 토스트: 모달은 프레임 폭으로 캡, 토스트는 프레임 코너로 */ body[data-preview="pc"] .ui.modal { max-width: calc(var(--frame-w) - 24px) !important; /* 캡만; 가로중앙은 Fomantic JS 가 캡된 폭 기준으로 잡음 */ } body[data-preview="pc"] .ui.toast-container.right { right: calc(var(--frame-edge) + .85714286em) !important; } body[data-preview="pc"] .ui.toast-container.left { left: calc(var(--frame-edge) + .85714286em) !important; } /* [그룹 G] Fomantic .ui.container 를 실기기 모바일 분기 값으로 강제 */ body[data-preview="pc"] .ui.container:not(.fluid) { width: auto !important; max-width: none !important; margin-left: 1em !important; margin-right: 1em !important; } /* [그룹 I] 도움말 힌트: 창 전체를 덮는 레이어를 프레임 안으로 옮긴다 */ body[data-preview="pc"] .app-hint-layer { left: var(--frame-edge) !important; right: var(--frame-edge) !important; } /* 트리거 터치 타깃 — 실기기 모바일 분기(max-width:767.98px) 미러 */ body[data-preview="pc"] .hint-trigger { width: 1.4rem; height: 1.4rem; font-size: .78rem; } /* [그룹 H] 광고 영역 모바일 분기 미러(원본 모바일 블록과 동일 값 유지) */ body[data-preview="pc"] .adhook-slot { margin: 28px 16px; } body[data-preview="pc"] .adhook-row { flex-direction: column; } body[data-preview="pc"] .adhook-row > .adhook-box ~ .adhook-box { margin-top: 20px; } body[data-preview="pc"] .adhook-body { padding: 16px 0; } body[data-preview="pc"] .adhook-head { flex-wrap: wrap; } body[data-preview="pc"] .adhook-market { display: none; flex-basis: 100%; border-top: 1px solid #eceef2; padding: 10px 0 0; } body[data-preview="pc"] .adhook-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 10px; } body[data-preview="pc"] .adhook-code-line { margin-top: 8px; } body[data-preview="pc"] .adhook-name { margin-top: 3px; min-height: 0; font-size: 0.9375rem; } body[data-preview="pc"] .adhook-price { color: var(--point-color); } body[data-preview="pc"] .adhook-tab { padding: 5px 10px; font-size: 13px; line-height: 1.2; } /* 연관상품(related_products) 슬라이더 모바일 분기 */ body[data-preview="pc"] .adhook-rel { margin-left: -16px; margin-right: -16px; } body[data-preview="pc"] .adhook-rel-head { padding: 14px 14px 8px; } body[data-preview="pc"] .adhook-rel-title { font-size: 16px; } body[data-preview="pc"] .adhook-rel-slider { padding: 2px 13px 12px; } body[data-preview="pc"] .adhook-rel-arrow { width: 30px; height: 30px; font-size: 18px; top: 33%; } body[data-preview="pc"] .adhook-rel-prev { left: 4px; } body[data-preview="pc"] .adhook-rel-next { right: 4px; } body[data-preview="pc"] .adhook-rel-dots { padding-bottom: 12px; } /* [그룹 Z] 바탕화면 바로가기 배너: 창 전체를 덮는 것을 프레임 안으로 옮긴다. 배너는 좌우 10px 여백을 가진 카드이고, 안내 레이어는 프레임 가장자리에 맞춘다 */ body[data-preview="pc"] .zen-shortcut-bar { left: calc(var(--frame-edge) + 10px) !important; right: calc(var(--frame-edge) + 10px) !important; width: auto !important; } body[data-preview="pc"] .zen-shortcut-guide { left: var(--frame-edge) !important; right: var(--frame-edge) !important; width: auto !important; } /* [그룹 K] 실시간 상담 위젯: 창 모서리 → 프레임 모서리. 위젯의 모바일 분기(max-width:768px) 값을 그대로 옮긴다(위치·옆 여백은 모바일 값) */ body[data-preview="pc"] #zen-livechat { bottom: calc(var(--zlc-my) + env(safe-area-inset-bottom, 0px)); } body[data-preview="pc"] #zen-livechat.zlc-mright { right: calc(var(--frame-edge) + var(--zlc-mx)); left: auto; } body[data-preview="pc"] #zen-livechat.zlc-mleft { left: calc(var(--frame-edge) + var(--zlc-mx)); right: auto; } body[data-preview="pc"] #zen-livechat.zlc-hide-mobile { display: none; } body[data-preview="pc"] #zen-livechat .zlc-launcher { width: 54px; height: 54px; } body[data-preview="pc"] #zen-livechat .zlc-launcher:not(.zlc-has-icon) { padding: 14px; } body[data-preview="pc"] #zen-livechat .zlc-input { font-size: 16px; } body[data-preview="pc"] #zen-livechat .zlc-teaser { bottom: 7px; } body[data-preview="pc"] #zen-livechat.zlc-mright .zlc-teaser { right: 64px; left: auto; } body[data-preview="pc"] #zen-livechat.zlc-mleft .zlc-teaser { left: 64px; right: auto; max-width: calc(var(--frame-w) - var(--zlc-mx) - 96px); } body[data-preview="pc"] #zen-livechat.zlc-mright .zlc-teaser { max-width: calc(var(--frame-w) - var(--zlc-mx) - 96px); } /* 열면 프레임 전체를 쓴다(실기기에서 화면 전체를 쓰는 것과 같다) */ body[data-preview="pc"] #zen-livechat.zlc-open { top: 0; bottom: 0; left: var(--frame-edge); right: var(--frame-edge); } body[data-preview="pc"] #zen-livechat.zlc-open .zlc-launcher { display: none; } body[data-preview="pc"] #zen-livechat .zlc-panel { width: min(380px, calc(var(--frame-w) - var(--zlc-mx) * 2)); } body[data-preview="pc"] #zen-livechat.zlc-open .zlc-panel { position: fixed; top: 0; bottom: 0; left: var(--frame-edge); right: var(--frame-edge); width: auto; height: auto; border-radius: 0; }