@charset "utf-8";
/* ==========================================================================
   VETERAN LOGIC - premium cosmetics main page
   ========================================================================== */

/* -------------------------------------------------- reset */
*,*::before,*::after{box-sizing:border-box}
html,body,div,span,h1,h2,h3,h4,h5,h6,p,a,em,img,small,strong,b,i,
ul,ol,li,dl,dt,dd,form,label,fieldset,input,button,figure,
header,footer,nav,section,article,aside{
	margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}
ul,ol{list-style:none}
img{max-width:100%;vertical-align:top}
a{color:inherit;text-decoration:none}
button{background:none;cursor:pointer;font:inherit;color:inherit}
input{font:inherit;color:inherit}

/* -------------------------------------------------- tokens */
:root{
	--org:#f0a44e;
	--org-d:#e08a33;
	--org-l:#f8c76e;
	--org-t:#d9862f;
	--sale:#ef8b3a;
	--topbar:#fdf3d4;
	--cream:#fdf3e5;
	--cream-2:#fbebd6;
	--card:#fffdf8;
	--ink:#6f5232;
	--ink-2:#8a6a45;
	--muted:#b49c7d;
	--line:#f3e4cd;
	--gold:#b8862f;
	--gold-l:#d9a94e;
	--container:1128px;
	/* 영어 + 중국어(간체/번체) 동시 지원 */
	--sans:"Noto Sans SC","Noto Sans TC","Noto Sans","Helvetica Neue",
		"Microsoft YaHei","PingFang SC","Apple SD Gothic Neo",Arial,sans-serif;
	--serif:"Noto Serif SC","Noto Serif TC","Noto Serif",Georgia,
		"Songti SC","SimSun",serif;
}

body{
	font-family:var(--sans);
	font-size:14px;line-height:1.5;color:var(--ink);
	background:linear-gradient(180deg,#fdf1de 0%,#fdf6ee 55%,#fdf4e8 100%);
	-webkit-font-smoothing:antialiased}

.container{max-width:var(--container);margin:0 auto;padding:0 26px}

.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;
	overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* -------------------------------------------------- header */
/* 검색 레이어를 헤더 하단에 붙이기 위한 기준 */
#header{position:relative;background:var(--topbar);border-bottom:1px solid #f6e6b8}
#header .container{display:flex;align-items:center;gap:30px;height:62px}

.logo{flex:none}
.logo a,.logo{display:block}
.logo .name{font-family:var(--serif);font-size:23px;font-weight:700;letter-spacing:.045em;
	color:var(--gold);white-space:nowrap}

#gnb{flex:1 1 auto;display:flex;justify-content:center}
#gnb ul{display:flex;align-items:center;gap:34px}
#gnb a{position:relative;display:block;padding:6px 0;font-size:13px;font-weight:700;
	letter-spacing:.03em;color:#8a7658;white-space:nowrap;transition:color .15s}
#gnb a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
	background:var(--org);transform:scaleX(0);transition:transform .2s}
#gnb a:hover{color:var(--org-t)}
#gnb a:hover::after{transform:scaleX(1)}

.util{flex:none;display:flex;align-items:center;gap:14px}
.util .ico-btn{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;
	transition:background .15s}
.util .ico-btn:hover{background:rgba(224,138,51,.14)}
.util .ico-btn svg{width:17px;height:17px;fill:none;stroke:#8b7658;stroke-width:1.7}
.util .signin{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 14px;
	border:1px solid #f0dfae;border-radius:16px;background:#fffdf3;
	font-size:12px;color:#8b7658;transition:border-color .15s,color .15s}
.util .signin[hidden],.util .auth-member{display:none!important}
html[data-auth="guest"] .util .auth-guest{display:inline-flex!important}
html[data-auth="guest"] .util .auth-member{display:none!important}
html[data-auth="member"] .util .auth-guest{display:none!important}
html[data-auth="member"] .util .auth-member{display:inline-flex!important}
.util .signin:hover{border-color:var(--org);color:var(--org-t)}
.util .signin svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7}
.util .cart{position:relative}
.util .cart .count{position:absolute;top:-4px;right:-6px;min-width:15px;height:15px;padding:0 4px;
	border-radius:8px;background:var(--org-d);color:#fff;font-size:9px;line-height:15px;
	text-align:center;font-weight:700}
/* 언어 선택 */
.lang{position:relative;padding-left:14px;border-left:1px solid #f0dfae}
.lang .lang-btn{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 14px;
	border:1px solid #f0dfae;border-radius:16px;background:#fffdf3;
	transition:border-color .15s}
.lang .lang-btn:hover,.lang.open .lang-btn{border-color:var(--org)}
.lang .flag{width:24px;height:16px;border-radius:2px;overflow:hidden;flex:none;
	box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.lang .flag svg{width:100%;height:100%}
.lang .code{font-size:12px;font-weight:600;color:#8b7658;letter-spacing:.03em}
.lang .caret{width:8px;height:8px;margin-left:3px;fill:none;stroke:#b09b78;stroke-width:2;
	transition:transform .2s}
.lang.open .caret{transform:rotate(180deg)}
.lang .lang-list{position:absolute;top:38px;right:0;z-index:30;min-width:132px;padding:5px;
	border:1px solid #f0dfae;border-radius:8px;background:#fffdf5;
	box-shadow:0 6px 18px rgba(180,130,60,.16);
	opacity:0;visibility:hidden;transform:translateY(-4px);transition:.16s}
.lang.open .lang-list{opacity:1;visibility:visible;transform:none}
.lang .lang-list button{display:flex;align-items:center;gap:9px;width:100%;padding:7px 9px;
	border-radius:5px;font-size:12.5px;color:#7a6547;text-align:left;transition:background .15s}
.lang .lang-list button:hover{background:#fbeed6}
.lang .lang-list button[aria-selected="true"]{background:#fbe6c6;color:var(--org-t);font-weight:600}
.lang .lang-list .flag{width:22px;height:15px}

/* -------------------------------------------------- hero */
.hero{position:relative;overflow:hidden;
	/* 배너 이미지(banner.jpg) 가장자리 색과 동일한 단색 → 좌우 여백 띠가 이미지와 완전히 일치 */
	background:#f8e5c7}
.hero .hero-inner{position:relative;z-index:2;display:flex;align-items:center;overflow:hidden;
	min-height:462px;max-width:var(--container);margin:0 auto;padding:44px 26px}
.hero .hero-text{position:relative;z-index:3;flex:0 0 49%;max-width:49%;padding-left:46px}
.hero .slides{position:relative}
.hero .slide{display:none;position:relative}
.hero .slide.active{display:block;animation:heroIn .5s ease}
/* 배너 이미지: 컨테이너(.hero-inner) 박스를 채움. 오른쪽 정렬로 제품이 박스 우측 끝에 닿음.
   콘텐츠(문구/버튼) 뒤(z0)에 깔려 버튼 클릭에 영향 없음. 왼쪽 가장자리는 배경으로 페이드 */
.hero .hero-full{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
	object-position:right center;z-index:0;
	-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%);
	mask-image:linear-gradient(90deg,transparent 0,#000 14%)}
.hero .slide.api-banner .hero-inner{min-height:462px;padding:0}
.hero .slide.api-banner .hero-banner-link{position:absolute;inset:0;z-index:1;display:block}
.hero .slide.api-banner .hero-full{position:absolute;inset:0;width:100%;max-width:none;height:100%;
	object-fit:cover;object-position:center;order:initial;border-radius:0;
	-webkit-mask-image:none;mask-image:none}
/* 배너가 있으면 뒤의 일러스트는 숨김(이미지가 없으면 다시 일러스트가 보임) */
.hero .slide:has(.hero-full) .hero-visual{display:none}
@keyframes heroIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (max-width:900px){
	.hero .slide.api-banner .hero-inner{min-height:0;aspect-ratio:1128/462;padding:0}
}
.hero .eyebrow{font-size:22px;font-weight:400;letter-spacing:.42em;color:#9c8150;
	text-transform:uppercase}
.hero .divider{display:flex;align-items:center;gap:13px;width:min(320px,82%);margin:16px 0 20px}
.hero .divider::before,.hero .divider::after{content:"";flex:1;height:1px;
	background:linear-gradient(90deg,transparent,#dbb46f,transparent)}
.hero .divider svg{width:22px;height:22px;flex:none}
.hero h2{font-size:48px;line-height:1.1;font-weight:800;letter-spacing:-.01em;color:#3d3120}
.hero h2 .pink{color:#e0912b}
.hero .sub{margin-top:18px;font-size:16px;line-height:1.6;color:#7c6a49}
.hero .btn-shop{display:inline-flex;align-items:center;gap:12px;margin-top:28px;
	padding:14px 30px;border-radius:7px;
	background:linear-gradient(180deg,#f6c069,#ef9f34);color:#fff;font-size:15px;
	font-weight:600;letter-spacing:.01em;box-shadow:0 10px 22px rgba(224,150,40,.32);
	transition:filter .15s,transform .15s}
.hero .btn-shop:hover{filter:brightness(1.05);transform:translateY(-2px)}
.hero .btn-shop svg{width:18px;height:14px;fill:none;stroke:#fff;stroke-width:2}

.hero .hero-visual{position:absolute;top:0;right:0;width:60%;height:100%;z-index:1}
.hero .hero-visual svg{width:100%;height:100%}

/* 좌우 버튼: 본문(컨테이너) 양 끝에 배치 */
.hero .hero-controls{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);
	z-index:6;max-width:var(--container);margin:0 auto;padding:0 16px;
	display:flex;justify-content:space-between;pointer-events:none}
.hero .hero-controls[hidden]{display:none}
.hero .nav-btn{pointer-events:auto;width:42px;height:42px;border-radius:50%;
	display:grid;place-items:center;background:rgba(255,255,255,.85);
	box-shadow:0 3px 12px rgba(180,110,130,.24);transition:background .15s,transform .15s}
.hero .nav-btn:hover{background:#fff;transform:scale(1.06)}
.hero .nav-btn svg{width:14px;height:14px;fill:none;stroke:#cf9033;stroke-width:2.2}

/* -------------------------------------------------- category */
.category{background:var(--cream-2);padding:22px 0}
.category .list{display:grid;grid-template-columns:repeat(8,1fr);gap:14px}
.category .link{display:flex;flex-direction:column;align-items:center;gap:13px}
/* 원 안쪽은 거의 흰색으로 밝게, 형태는 테두리로 잡아줌 */
.category .circle{display:grid;place-items:center;width:100%;max-width:106px;margin:0 auto;
	aspect-ratio:1/1;border-radius:50%;background:#fffdf7;border:1px solid #f4e4c8;
	transition:background .18s,border-color .18s,transform .18s}
.category .link:hover .circle{background:#fff;border-color:var(--org);transform:translateY(-3px)}
/* 선택된 카테고리: hover와 같은 톤 + 얇은 링으로 한 단계 더 강조 */
.category .link.active .circle{background:#fff;border-color:var(--org);
	box-shadow:0 0 0 1px var(--org) inset}
.category .link.active .name{color:var(--org-t);font-weight:700}
.category .link svg{width:44px;height:44px;fill:none;stroke:var(--org-d);stroke-width:1.3;
	stroke-linecap:round;stroke-linejoin:round}
/* 이미지 아이콘: 원본 비율이 제각각이라 정사각 박스 안에 contain 으로 맞춤 */
.category .circle img{width:60px;height:60px;object-fit:contain}
.category .name{font-size:10px;font-weight:600;letter-spacing:.06em;color:#a3835c}

/* -------------------------------------------------- section common */
.section{padding:34px 0 8px}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.section-title{font-size:19px;font-weight:800;letter-spacing:.03em;color:var(--org-t)}
.btn-viewall{display:inline-block;padding:5px 13px;border:1px solid #f0dfb8;border-radius:5px;
	background:#fffdf5;font-size:11px;color:#a3835c;transition:border-color .15s,color .15s}
.btn-viewall:hover{border-color:var(--org);color:var(--org-t)}

/* -------------------------------------------------- 상품 검색 (리스트 타이틀 하단) */
.prod-search{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:22px}
.prod-search input{flex:1 1 380px;min-width:0;height:44px;padding:0 16px;
	border:1px solid #e6d3ae;border-radius:6px;background:#fffdf8;
	font-size:13.5px;color:var(--ink)}
.prod-search input::placeholder{color:#c2ae91}
.prod-search input:focus{outline:none;background:#fff;border-color:var(--org);
	box-shadow:0 0 0 3px rgba(240,164,78,.16)}
.prod-search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
/* button / a 어느 태그로 써도 라벨이 상하 가운데 오도록 inline-flex */
.ps-btn{display:inline-flex;align-items:center;justify-content:center;
	flex:none;height:44px;padding:0 34px;border-radius:6px;
	background:linear-gradient(180deg,#f6c069,#ef9f34);color:#fff;
	font-size:13.5px;font-weight:700;letter-spacing:.01em;
	box-shadow:0 6px 14px rgba(224,150,40,.26);transition:filter .15s,transform .15s}
.ps-btn:hover{filter:brightness(1.05);transform:translateY(-2px)}
.ps-stock{flex:none;margin-left:8px}
.ps-stock .box{width:20px;height:20px}
.ps-stock .txt{font-size:14px;color:#6f5c46}

@media (max-width:700px){
	.prod-search input{flex:1 1 100%}
	.ps-btn{flex:1 1 auto;padding:0 20px}
	.ps-stock{margin-left:0}
}

/* -------------------------------------------------- product card */
.product-list{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
/* 카테고리 필터로 감춰진 카드 (grid 자식이라 hidden 속성만으론 부족) */
.product[hidden]{display:none}
.list-empty{padding:60px 0;text-align:center;font-size:14px;color:var(--muted)}
.product{position:relative;border-radius:10px;background:var(--card);overflow:hidden;
	box-shadow:0 2px 10px rgba(196,140,70,.10);transition:box-shadow .2s,transform .2s}
.product:hover{box-shadow:0 8px 22px rgba(196,140,70,.20);transform:translateY(-3px)}
.product .thumb{position:relative;display:block;width:100%;aspect-ratio:1/.92;
	background:#fff;overflow:hidden}
.product .thumb svg{width:100%;height:100%}
/* 실제 제품 이미지: 있으면 일러스트 위에 표시, 없으면(onerror) 일러스트 노출 */
.product .thumb img{position:absolute;inset:0;width:100%;height:100%;z-index:2;
	object-fit:contain;padding:14px;background:#fff}
.product .btn-like{position:absolute;top:10px;right:10px;z-index:3;width:28px;height:28px;
	display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.8)}
.product .btn-like svg{width:16px;height:16px;fill:none;stroke:#e2a561;stroke-width:1.6;
	transition:fill .15s,stroke .15s}
.product .btn-like:hover svg,.product .btn-like.on svg{fill:var(--org);stroke:var(--org)}

/* 썸네일 호버: 이미지 위에 장바구니 · 찜하기 아이콘 버튼 노출 */
.product .thumb-act{position:absolute;left:0;right:0;top:0;z-index:4;
	aspect-ratio:1/.92;display:flex;align-items:center;justify-content:center;gap:12px;
	background:rgba(74,58,34,.18);
	opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s}
.product:hover .thumb-act,.product .thumb-act:focus-within{
	opacity:1;visibility:visible;pointer-events:auto}
.product .ta-btn{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;
	box-shadow:0 6px 14px rgba(74,58,34,.28);
	transform:translateY(8px);transition:transform .22s,filter .15s}
.product:hover .ta-btn,.product .thumb-act:focus-within .ta-btn{transform:none}
.product:hover .ta-btn:hover{transform:translateY(-3px)}
.product .ta-btn svg{width:19px;height:19px;fill:none;stroke-width:1.7;
	stroke-linecap:round;stroke-linejoin:round}
.product .ta-btn.cart{background:#4a3a22}
.product .ta-btn.cart svg{stroke:#fff}
.product .ta-btn.cart:hover{filter:brightness(1.25)}
.product .ta-btn.wish{background:#fff}
.product .ta-btn.wish svg{stroke:var(--org)}
.product .ta-btn.wish.on svg{fill:var(--org)}
/* 터치 기기에서는 hover 가 없으므로 항상 노출 */
@media (hover:none){
	.product .thumb-act{opacity:1;visibility:visible;pointer-events:auto;background:none}
	.product .ta-btn{transform:none;width:36px;height:36px}
}

.product .ribbon{position:absolute;top:0;left:0;z-index:3;width:78px;height:78px;overflow:hidden}
.product .ribbon span{position:absolute;top:14px;left:-22px;width:100px;
	transform:rotate(-45deg);text-align:center;
	background:linear-gradient(90deg,var(--org-l),var(--sale));color:#fff;
	font-size:10px;font-weight:700;letter-spacing:.08em;line-height:20px;
	box-shadow:0 1px 4px rgba(180,100,30,.3)}

.product .info{padding:14px 14px 16px}
/* 상품명: 브랜드 태그 + 제품명, 두 줄까지 노출하고 넘치면 말줄임 */
.product .name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
	min-height:2.9em;overflow:hidden;
	font-size:13px;font-weight:600;line-height:1.45;color:#5f4830;letter-spacing:-.01em;
	transition:color .15s}
.product a.name:hover{color:var(--org-t)}
.product .name .brand{font-style:normal;font-weight:800;color:#4a3a22}
/* 별점 + 가격 한 줄: 별점은 왼쪽, 가격은 오른쪽 끝 */
.product .meta{display:flex;align-items:baseline;justify-content:space-between;gap:8px;
	margin-top:11px}
.product .stars{display:inline-flex;gap:1px;flex:none}
.product .stars svg{width:11px;height:11px;fill:#f3b45c}
.product .stars svg.is-empty{fill:#eadfce}
.product .review-count{margin-left:3px;font-size:10px;font-weight:600;color:var(--muted)}
/* 가격: 우측 정렬, 세일이면 앞에 정가 취소선 */
.product .price{display:flex;align-items:baseline;justify-content:flex-end;gap:7px;
	font-size:20px;font-weight:800;color:var(--org-t)}
.product .price .was{font-size:12px;font-weight:500;color:var(--muted);
	text-decoration:line-through}
.product .code{margin-top:10px;font-size:11.5px;font-weight:700;color:#6f5c46}
.product .tags{margin-top:7px;font-size:11px;line-height:1.6;color:#a1885c;
	overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.product .timer{display:flex;align-items:center;justify-content:center;gap:5px;
	margin-top:10px;padding:5px 0;border-radius:5px;background:#fdf1dd}
.product .timer b{min-width:24px;padding:1px 0;border-radius:3px;background:#fbe4c4;
	font-size:11px;font-weight:700;color:#a3702c;text-align:center}
.product .timer i{font-size:10px;color:#c9a878}

/* 하단 버튼 2개 (장바구니 / 위시리스트) */
.product .btns{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:14px}
.product .btn-cart,.product .btn-wish{height:34px;border-radius:6px;
	font-size:11.5px;font-weight:700;letter-spacing:.02em;transition:.15s}
.product .btn-cart{background:linear-gradient(180deg,var(--org-l),var(--org));color:#fff;
	box-shadow:0 2px 6px rgba(224,138,51,.28)}
.product a.btn-cart{display:grid;place-items:center;text-align:center}
.product .btn-cart:hover{filter:brightness(1.06)}
.product .btn-cart.is-disabled{background:#c9c1b5;box-shadow:none;pointer-events:none}
.product .btn-wish{border:1px solid #e6d3ae;background:#fff;color:var(--ink-2)}
.product .btn-wish:hover{border-color:var(--org);background:#fffdf5;color:var(--org-t)}
.product .btn-wish.on{border-color:var(--org);background:#fdf3e2;color:var(--org-t)}

/* 운영 API 상품 로딩 상태 */
.main-product-skeleton{padding-bottom:16px;pointer-events:none}
.main-product-skeleton .skeleton-thumb,.main-product-skeleton .skeleton-line{display:block;
	background:linear-gradient(90deg,#f5eee3 25%,#fffaf2 50%,#f5eee3 75%);
	background-size:200% 100%;animation:main-product-loading 1.3s infinite}
.main-product-skeleton .skeleton-thumb{width:100%;aspect-ratio:1/.92}
.main-product-skeleton .skeleton-line{height:12px;margin:14px 14px 0;border-radius:8px}
.main-product-skeleton .skeleton-line.wide{height:16px}
.main-product-skeleton .skeleton-line.short{width:45%}
.main-product-state{grid-column:1/-1;padding:54px 20px;text-align:center;color:var(--muted)}
.main-product-retry{display:block;margin:14px auto 0;padding:8px 18px;border:1px solid var(--org);
	border-radius:6px;background:#fff;color:var(--org-t);font-weight:700}
@keyframes main-product-loading{to{background-position:-200% 0}}

@media (max-width:420px){
	.product .btns{grid-template-columns:1fr}
}

/* -------------------------------------------------- 주문 절차 (메인) */
.process{background:#fff;padding:8px 0 46px}
/* 좌우로 뻗는 선 + 점으로 감싼 타이틀 */
.process-tit{display:flex;align-items:center;gap:18px;margin-bottom:34px}
.process-tit::before,.process-tit::after{content:"";flex:1;height:1px;background:#e6d9bf}
.process-tit h3{flex:none;display:flex;align-items:center;gap:18px;
	font-size:30px;font-weight:800;letter-spacing:.04em;color:#4a3a22}
.process-tit h3::before,.process-tit h3::after{content:"";width:7px;height:7px;
	border-radius:50%;background:#d9c19a}

.process-list{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.process-card{position:relative;display:flex;flex-direction:column;align-items:center;
	padding:30px 20px 24px;border:1px solid var(--line);border-radius:10px;
	background:linear-gradient(180deg,#fff,#fffdf8)}
/* 카드 사이 화살표 */
.process-card+.process-card::before{content:"";position:absolute;top:50%;left:-20px;
	width:26px;height:26px;margin-top:-13px;border-radius:50%;
	background:#fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1.5 8.5 6 4 10.5' fill='none' stroke='%23b09b78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
	border:1px solid var(--line);z-index:2}
.process-card .no{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;
	color:#fff;font-size:19px;font-weight:800;letter-spacing:.02em}
.process-card h4{margin-top:16px;font-size:16px;font-weight:800;letter-spacing:.02em;
	color:#3d3120;text-align:center}
.process-card .bar{width:34px;height:2px;margin:12px 0 14px;border-radius:1px}
.process-card p{font-size:13px;line-height:1.7;color:#7c6a52;text-align:center}
.process-card .art{width:100%;max-width:190px;margin-top:auto;padding-top:20px}
.process-card .art svg{width:100%;height:auto}
/* 단계별 색 */
.process-card.s1 .no{background:#e0912b} .process-card.s1 .bar{background:#e0912b}
.process-card.s2 .no{background:#5aa8a0} .process-card.s2 .bar{background:#5aa8a0}
.process-card.s3 .no{background:#a37fb5} .process-card.s3 .bar{background:#a37fb5}
.process-card.s4 .no{background:#e5687f} .process-card.s4 .bar{background:#e5687f}
.process-card.s1{border-color:#f0dcba} .process-card.s2{border-color:#cfe4e1}
.process-card.s3{border-color:#ddd2e8} .process-card.s4{border-color:#f6d3da}

@media (max-width:900px){
	.process-tit h3{font-size:23px}
	.process-list{grid-template-columns:repeat(2,1fr);gap:30px 20px}
	.process-card+.process-card::before{display:none}
}
@media (max-width:560px){
	.process{padding-bottom:34px}
	.process-tit{gap:12px;margin-bottom:24px}
	.process-tit h3{font-size:19px;gap:12px}
	.process-list{grid-template-columns:1fr}
}

/* -------------------------------------------------- benefit */
.benefit{margin-top:40px;background:#fdf7ed;border-top:1px solid var(--line)}
.benefit ul{display:flex;padding:30px 26px}
.benefit li{flex:1;padding:0 20px;text-align:center}
.benefit li+li{border-left:1px solid #f4e6d1}
.benefit .ico{display:grid;place-items:center;height:34px;margin-bottom:11px}
.benefit .ico svg{width:30px;height:30px;fill:none;stroke:var(--org-d);stroke-width:1.4;
	stroke-linecap:round;stroke-linejoin:round}
.benefit .tit{display:block;font-size:13px;font-weight:700;color:#6f5232}
.benefit .desc{display:block;margin-top:4px;font-size:11px;color:var(--muted)}

/* -------------------------------------------------- promo (푸터 위 프로모션 배너) */
.promo{padding:46px 0}
.promo .promo-list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.promo .promo-card{display:flex;align-items:center;gap:16px;padding:24px 22px;
	border-radius:16px;background:#fff;border:1px solid var(--line);
	box-shadow:0 8px 22px rgba(180,140,80,.09);transition:transform .18s,box-shadow .18s}
.promo .promo-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(180,140,80,.18)}
.promo .promo-text{flex:1 1 auto;min-width:0}
.promo .promo-tit{display:block;font-size:18px;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
.promo .promo-desc{margin-top:9px;font-size:13px;line-height:1.55;color:var(--muted)}
.promo .promo-btn{display:inline-flex;align-items:center;gap:7px;margin-top:17px;
	padding:8px 17px;border:1px solid var(--org-l);border-radius:22px;
	font-size:12px;font-weight:600;color:var(--org-t);
	transition:background .15s,border-color .15s,color .15s}
.promo .promo-btn:hover{background:var(--org);border-color:var(--org);color:#fff}
.promo .promo-btn svg{width:13px;height:11px;fill:none;stroke:currentColor;stroke-width:2}
.promo .promo-thumb{flex:none;width:98px;height:98px;border-radius:12px;overflow:hidden;
	display:grid;place-items:center;background:#fff}
.promo .promo-thumb img{width:100%;height:100%;object-fit:cover}

/* -------------------------------------------------- footer */
#footer{position:relative;overflow:hidden;padding:54px 0 32px;
	background:linear-gradient(118deg,#fdf7ee 0%,#faeddb 42%,#fdf5ea 72%,#f9ead6 100%)}
#footer::before{content:"";position:absolute;left:-10%;right:-10%;top:-40%;height:180%;
	background:linear-gradient(104deg,transparent 38%,rgba(255,255,255,.75) 47%,
		transparent 56%,transparent 68%,rgba(255,255,255,.55) 76%,transparent 84%);
	pointer-events:none}
#footer .container{position:relative;z-index:2}

#footer .f-top{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:44px}

#footer .f-logo{display:flex;align-items:center;gap:15px}
#footer .f-logo .leaf{width:46px;height:42px;flex:none}
#footer .f-logo .name{font-family:var(--serif);font-size:28px;font-weight:700;
	letter-spacing:.045em;color:var(--gold);white-space:nowrap}
#footer .f-brand p{margin-top:17px;font-size:14px;line-height:1.95;color:#a5834f}

#footer h5{font-family:var(--serif);font-size:18px;font-weight:700;letter-spacing:.01em;
	color:var(--gold);margin-bottom:19px}
#footer .f-links li+li{margin-top:13px}
#footer .f-links a{font-size:14px;color:#5d5346;transition:color .15s}
#footer .f-links a:hover{color:var(--org-t)}

#footer .f-div{height:1px;margin:34px 0 24px;
	background:linear-gradient(90deg,#e3c99c,#efdcbc 55%,#e8d2ab)}

#footer .f-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:28px}
#footer .biz p{font-size:13.5px;line-height:2.15;color:#5d5346}
#footer .biz .sep{display:inline-block;width:1px;height:12px;margin:0 14px;
	background:#dcc9a8;vertical-align:-1px}
#footer .biz .ico{width:15px;height:15px;margin-right:7px;vertical-align:-3px;
	fill:none;stroke:var(--org);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#footer .biz a{color:inherit;transition:color .15s}
#footer .biz a:hover{color:var(--org-t)}
#footer .copyright{margin-top:12px;font-size:13px;color:#8a7a63}

#footer .pay{flex:none;display:flex;gap:13px}
#footer .pay .card{width:84px;height:58px;border-radius:9px;overflow:hidden;
	display:flex;flex-direction:column;align-items:center;justify-content:center;
	box-shadow:0 2px 8px rgba(170,130,70,.2)}
#footer .pay .alipay{background:#fff}
#footer .pay .alipay b{font-family:var(--sans);font-size:23px;font-weight:700;color:#1677ff;
	line-height:1}
#footer .pay .alipay i{margin-top:2px;font-size:12px;font-weight:800;color:#1a2b4c;
	letter-spacing:.01em}
#footer .pay .unionpay{background:linear-gradient(100deg,#e21836 0%,#e21836 42%,
	#00798c 58%,#007b7b 100%);color:#fff}
#footer .pay .unionpay b{font-size:12.5px;font-weight:800;letter-spacing:-.01em;line-height:1.1}
#footer .pay .unionpay i{font-family:var(--sans);font-size:14px;font-weight:700;line-height:1.2}

/* -------------------------------------------------- responsive */
@media (max-width:1100px){
	#gnb ul{gap:20px}
	.category .list{grid-template-columns:repeat(4,1fr)}
	.product-list{grid-template-columns:repeat(2,1fr)}
	#footer .f-top{grid-template-columns:1fr 1fr;gap:30px}
	#footer .f-brand{grid-column:1/-1}
}
@media (max-width:860px){
	#header .container{flex-wrap:wrap;height:auto;padding-top:12px;padding-bottom:12px;gap:12px}
	#gnb{order:3;flex:1 0 100%;justify-content:flex-start;overflow-x:auto}
	#gnb ul{gap:24px}
	#gnb a{white-space:nowrap}
	.util{margin-left:auto}
	.hero .hero-inner{flex-direction:column;min-height:0;padding:34px 26px 40px}
	.hero .hero-text{flex:1 1 100%;max-width:520px;margin:0 auto;padding-left:0;
		text-align:center;order:1}
	.hero .divider{margin-left:auto;margin-right:auto}
	.hero h2{font-size:34px}
	.hero .hero-visual{position:relative;order:2;width:100%;max-width:520px;height:auto;
		aspect-ratio:3/2;margin:22px auto 0}
	/* 모바일: 배너를 문구 아래 블록으로 배치(자연 비율, 겹침 없음) */
	.hero .hero-full{position:relative;order:3;inset:auto;width:100%;max-width:520px;
		height:auto;margin:22px auto 0;object-fit:contain;
		-webkit-mask-image:none;mask-image:none}
	.hero .hero-controls{display:none}
	.promo .promo-list{grid-template-columns:1fr;gap:14px}
	.benefit ul{flex-wrap:wrap;gap:22px 0;padding:24px 26px}
	.benefit li{flex:0 0 50%}
	.benefit li:nth-child(odd){border-left:0}
	.benefit li:nth-child(-n+2){padding-bottom:22px;border-bottom:1px solid #f4e6d1}
	#footer{padding-top:40px}
	#footer .f-bottom{flex-direction:column;align-items:flex-start;gap:22px}
	#footer .biz .sep{margin:0 9px}
}
@media (max-width:560px){
	.container{padding:0 16px}
	.util .signin span{display:none}
	.util .signin{padding:0 9px}
	.category{padding:16px 0}
	.category .list{grid-template-columns:repeat(4,1fr);gap:8px}
	.category .link{gap:9px}
	.category .link svg{width:32px;height:32px}
	.category .circle img{width:42px;height:42px}
	.category .name{font-size:9px;letter-spacing:.04em}
	.hero .eyebrow{font-size:16px;letter-spacing:.32em}
	.hero h2{font-size:27px}
	.hero .sub{font-size:14px}
	.product-list{gap:14px}
	.product .info{padding:10px 11px 12px}
	.benefit ul{padding-left:16px;padding-right:16px}
	.benefit li{flex:0 0 100%;border-left:0}
	.benefit li:nth-child(-n+3){padding-bottom:22px;border-bottom:1px solid #f4e6d1}
	#footer .f-top{grid-template-columns:1fr;gap:26px}
	#footer .f-logo .name{font-size:23px}
	#footer .f-logo .leaf{width:38px;height:35px}
	#footer .biz p{font-size:12.5px;line-height:2.3}
	#footer .biz .sep{display:none}
	#footer .biz .brk{display:block}
}

/* ==========================================================================
   상품 상세 페이지 (mycarParts-view)
   ========================================================================== */
.crumb{background:var(--cream);border-bottom:1px solid var(--line)}
.crumb .container{display:flex;align-items:center;gap:9px;height:48px;font-size:12.5px;color:#a1885c}
.crumb a{color:#a1885c;transition:color .15s}
.crumb a:hover{color:var(--org-t)}
.crumb svg{width:10px;height:10px;fill:none;stroke:#c9ac7c;stroke-width:2}
.crumb .home svg{width:14px;height:14px;stroke-width:1.6}
.crumb .cur{color:#6f5232;font-weight:500}

.detail{padding:38px 0 8px}
.detail-top{display:flex;gap:48px}

.gallery{flex:0 0 46%;max-width:46%}
.gallery-main{position:relative;border:1px solid var(--line);border-radius:12px;background:#fff;
	aspect-ratio:1/1;overflow:hidden}
.gallery-main img{width:100%;height:100%;object-fit:contain;padding:30px}
.gallery-main .tag{position:absolute;top:16px;left:16px;padding:5px 13px;border-radius:20px;
	background:var(--org);color:#fff;font-size:11px;font-weight:700;letter-spacing:.06em}
.gallery-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.gallery-thumbs button{border:1px solid var(--line);border-radius:9px;background:#fff;
	aspect-ratio:1/1;overflow:hidden;padding:0;transition:border-color .15s}
.gallery-thumbs button:hover{border-color:var(--org-l)}
.gallery-thumbs button.active{border-color:var(--org);box-shadow:0 0 0 1px var(--org) inset}
.gallery-thumbs img{width:100%;height:100%;object-fit:contain;padding:10px}

.buy{flex:1 1 auto;min-width:0;padding-top:4px}
.buy .brand{font-size:14px;color:#a1885c;letter-spacing:.02em}
.buy h1{margin-top:9px;font-size:30px;font-weight:800;letter-spacing:-.02em;color:#4a3a22;
	line-height:1.28}
.buy .rating{display:flex;align-items:center;gap:12px;margin-top:15px}
.buy .stars{display:inline-flex;gap:2px}
.buy .stars svg{width:16px;height:16px;fill:#f3b45c}
.buy .rating .score{font-size:13px;color:#8a7658}
.buy .rating .vsep{width:1px;height:12px;background:#e2cfa9}
.buy .rating a{font-size:13px;color:#a1885c}
.buy .rating a:hover{color:var(--org-t)}
.buy .price-box{display:flex;align-items:baseline;gap:12px;margin-top:22px}
.buy .price-box .now{font-size:34px;font-weight:800;color:var(--org-t)}
.buy .price-box .was{font-size:17px;color:#b6a079;text-decoration:line-through}
.buy .price-box .off{font-size:13px;font-weight:700;color:#e0592f;background:#fde3d2;
	padding:4px 9px;border-radius:4px}
.buy .lead{margin-top:16px;font-size:14px;line-height:1.75;color:#6f5c46}
.buy .hr{height:1px;background:var(--line);margin:24px 0}

.opt-row{display:flex;align-items:center;gap:16px;margin-bottom:16px}
.opt-row .label{flex:none;width:74px;font-size:13px;color:#8a7658}
.opt-row select{flex:1;height:44px;border:1px solid #ecd9b4;border-radius:6px;background:#fffdf7;
	padding:0 40px 0 12px;font-size:14px;color:#5f4a2c;
	-webkit-appearance:none;-moz-appearance:none;appearance:none;
	background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23b09b78' stroke-width='2'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5'/%3E%3C/svg%3E");
	background-repeat:no-repeat;background-position:right 14px center}
.qty{display:inline-flex;align-items:center;border:1px solid #ecd9b4;border-radius:6px;overflow:hidden}
.qty button{width:40px;height:44px;font-size:18px;color:#8a7658;background:#fdf6e7;transition:background .15s}
.qty button:hover{background:#f8ead0}
.qty input{width:52px;height:44px;border:0;border-left:1px solid #ecd9b4;border-right:1px solid #ecd9b4;
	text-align:center;font-size:15px;color:#5f4a2c;background:#fff}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.total-row{display:flex;align-items:center;justify-content:space-between;margin:24px 0 20px;
	padding-top:22px;border-top:1px dashed #e6d3ac}
.total-row .t-label{font-size:14px;color:#8a7658}
.total-row .t-price{font-size:14px;color:#8a7658}
.total-row .t-price b{font-size:28px;color:var(--org-t);font-weight:800;margin-left:6px}

.buy-actions{display:flex;gap:10px}
.buy-actions .btn{flex:1;height:52px;border-radius:8px;font-size:15px;font-weight:700;
	display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:filter .15s,background .15s}
.btn-wish{flex:0 0 52px;border:1px solid #ecd9b4;background:#fffdf7;border-radius:8px;
	display:grid;place-items:center;transition:border-color .15s}
.btn-wish svg{width:22px;height:22px;fill:none;stroke:#cf9a52;stroke-width:1.6}
.btn-wish.on svg{fill:var(--org);stroke:var(--org)}
.btn-cart2{border:1px solid var(--org);background:#fff;color:var(--org-t)}
.btn-cart2:hover{background:#fdf2df}
.btn-buy{background:linear-gradient(180deg,#f6c069,#ef9f34);color:#fff;
	box-shadow:0 8px 18px rgba(224,150,40,.3)}
.btn-buy:hover{filter:brightness(1.05)}

.buy-meta{margin-top:24px;border:1px solid var(--line);border-radius:10px;background:#fdf9f0;
	padding:16px 20px}
.buy-meta dl{display:flex;gap:12px;font-size:13px}
.buy-meta dl+dl{margin-top:11px}
.buy-meta dt{flex:none;width:82px;color:#a1885c}
.buy-meta dd{color:#6f5c46}

.detail-tabs{margin-top:58px}
.tab-nav{display:flex;flex-wrap:wrap;border-bottom:2px solid var(--line)}
.tab-nav button{padding:14px 28px;font-size:15px;font-weight:600;color:#a1885c;
	border-bottom:2px solid transparent;margin-bottom:-2px;transition:color .15s}
.tab-nav button:hover{color:var(--org-t)}
.tab-nav button.active{color:var(--org-t);border-bottom-color:var(--org)}
.tab-panel{display:none;padding:36px 0}
.tab-panel.active{display:block}
.tab-panel h3{font-size:18px;font-weight:700;color:#4a3a22;margin:0 0 14px}
.tab-panel h3+p{margin-top:0}
.tab-panel p{font-size:14px;line-height:1.9;color:#6f5c46;max-width:820px}
.desc-imgs{margin-top:28px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.desc-imgs img{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:10px;
	border:1px solid var(--line);background:#fff;padding:18px}
.spec{width:100%;border-top:2px solid #eaddc0;border-collapse:collapse;max-width:760px}
.spec th,.spec td{text-align:left;padding:13px 16px;font-size:14px;border-bottom:1px solid var(--line)}
.spec th{width:180px;background:#fdf6e7;color:#8a7658;font-weight:600}
.spec td{color:#5f4a2c}

.review-summary{display:flex;align-items:center;gap:28px;padding:24px 28px;border:1px solid var(--line);
	border-radius:12px;background:#fdf9f0;margin-bottom:26px}
.review-summary .big{font-size:46px;font-weight:800;color:var(--org-t);line-height:1}
.review-summary .rs-stars svg{width:17px;height:17px;fill:#f3b45c}
.review-summary .rs-count{margin-top:6px;font-size:13px;color:#8a7658}
.review-list li{padding:22px 2px;border-bottom:1px solid var(--line)}
.review-list .r-head{display:flex;align-items:center;gap:10px;font-size:13px;color:#8a7658}
.review-list .r-head .who{font-weight:600;color:#5f4a2c}
.review-list .r-stars{display:inline-flex;gap:1px}
.review-list .r-stars svg{width:13px;height:13px;fill:#f3b45c}
.review-list p{margin-top:11px;font-size:14px;line-height:1.7;color:#6f5c46}
.product-description{max-width:100%;overflow:hidden;line-height:1.8;color:#6f5c46}
.product-description img{display:block;max-width:100%;height:auto;margin:0 auto}
.product-description table{max-width:100%}
.product-description:empty::before{content:'Product description is being prepared.';display:block;padding:50px 0;text-align:center;color:var(--muted)}

.related{padding:24px 0 44px}

/* -------------------------------------------------- promo banner (푸터 위) */
.promo{padding:40px 0 6px}
.promo .list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.promo .card{position:relative;display:flex;align-items:center;justify-content:space-between;
	gap:12px;min-height:152px;padding:26px 26px;border-radius:14px;overflow:hidden;
	box-shadow:0 4px 16px rgba(196,140,70,.10);transition:box-shadow .2s,transform .2s}
.promo .card:hover{box-shadow:0 10px 26px rgba(196,140,70,.20);transform:translateY(-3px)}
.promo .card.c1{background:linear-gradient(120deg,#fdeef1,#f8e2e8)}
.promo .card.c2{background:linear-gradient(120deg,#eef1fb,#e5ecf6)}
.promo .card.c3{background:linear-gradient(120deg,#fce6ec,#f6d7df)}
.promo .txt{position:relative;z-index:2}
.promo .card h3{font-size:19px;font-weight:800;letter-spacing:-.01em;color:#4a3a22}
.promo .card p{margin-top:9px;font-size:12.5px;line-height:1.6;color:#7c6a52}
.promo .go{display:inline-block;margin-top:16px;padding:8px 17px;border-radius:6px;
	background:#fff;border:1px solid #eaddc0;font-size:12px;color:#8a6a45;
	transition:border-color .15s,color .15s}
.promo .go:hover{border-color:var(--org);color:var(--org-t)}
.promo .art{flex:none;width:118px;height:112px}
.promo .art svg{width:100%;height:100%}

@media (max-width:900px){
	.promo .list{grid-template-columns:1fr}
	.promo .card{min-height:130px}
}

@media (max-width:900px){
	.detail-top{flex-direction:column;gap:26px}
	.gallery{flex:1 1 100%;max-width:100%;max-width:440px;margin:0 auto;width:100%}
	.buy h1{font-size:26px}
	.desc-imgs{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
	.detail{padding-top:26px}
	.buy .price-box .now{font-size:29px}
	.buy-actions{flex-wrap:wrap}
	.buy-actions .btn{flex:1 1 100%}
	.btn-wish{flex:0 0 100%;height:48px}
	.tab-nav button{padding:12px 16px;font-size:14px}
	.desc-imgs{grid-template-columns:1fr}
	.spec th{width:120px}
}

/* -------------------------------------------------- 메인 섹션 배경 톤 조정 */
/* 베스트셀러 · 특가 · 프로모션 영역 흰색 배경 */
.best,.offers,.promo{background:#fff}
/* 카테고리 영역 배경 */
.category{background:#fdf7ed}
/* 흰 배경 위에서 카드 형태가 잡히도록 테두리 */
.best .product,.offers .product{background-color:#fff;border:1px solid #eddfc6}
/* .promo 아래 40px 여백: 간격은 그대로 두고 색만 흰색으로
   (.benefit margin-top:40px → .promo 하단 패딩으로 이관, 6px+40px=46px) */
.promo{padding-bottom:46px}
/* .detail 아래 40px 여백도 같은 방식으로 흰색 처리 (8px+40px=48px) */
.detail{padding-bottom:48px}
/* .benefit 바로 앞 .section도 동일하게 40px (기본 하단 8px+40px=48px) */
.section.sec-last{padding-bottom:48px}
.benefit{margin-top:0}

/* -------------------------------------------------- 상품 상세 배경 톤 조정 */
/* 상품 상세(.detail): 넓은 면은 흰색, 정보 블록은 크림 톤으로 강약 조절 */
.detail{background:#fff}
/* 크림 배경 기준이던 톤이 흰 배경에선 묻혀서 한 단계씩 진하게 */
.detail .buy-meta,
.detail .review-summary{background-color:#fdf6ea;border-color:#f0e2c8}
.detail .spec th{background-color:#fdf3e2}
.detail .qty button{background-color:#fdf6e7}
.detail .qty button:hover{background-color:#f7e7cb}
/* 흰 배경 위에서 형태가 잡히도록 프레임·입력 테두리 보강 */
.detail .gallery-main,
.detail .gallery-thumbs button{border-color:#eddfc6}
.detail .opt-row select,
.detail .btn-wish{background-color:#fff;border-color:#e6d3ae}

/* 상세설명 탭 전용 배너 (첨부 시안) */
.desc-hero{text-align:center;padding:14px 0 8px}
.desc-hero .eyebrow{display:inline-flex;align-items:center;gap:16px;
	font-size:15px;letter-spacing:.18em;color:#a1885c;font-family:var(--serif)}
.desc-hero .eyebrow::before,.desc-hero .eyebrow::after{content:"";width:96px;height:1px;
	background:linear-gradient(90deg,transparent,#d9b478,transparent)}
.desc-hero h2{margin-top:26px;font-size:44px;line-height:1.3;font-weight:800;
	letter-spacing:-.01em;color:#4a3a22}
.desc-hero h2 .gold{color:#c89a50}
.desc-hero .scene{margin:44px auto 0;max-width:760px}
.desc-hero .scene svg{width:100%;height:auto}
@media (max-width:560px){
	.desc-hero h2{font-size:30px}
	.desc-hero .eyebrow::before,.desc-hero .eyebrow::after{width:44px}
}

/* 해시태그 칩 */
.opt-tag{display:inline-block;padding:5px 12px;border:1px solid #f0dfb8;border-radius:16px;
	background:#fffdf5;font-size:12px;color:#a3835c;letter-spacing:.01em}

/* -------------------------------------------------- 검색 레이어 */
/* 검색 버튼: 평소 돋보기, 레이어가 열리면 X로 교체 */
.search-btn .ico-close{display:none}
#header.search-open .search-btn .ico-open{display:none}
#header.search-open .search-btn .ico-close{display:block}
#header.search-open .search-btn{background:rgba(224,138,51,.14)}

.search-layer{position:absolute;left:0;right:0;top:100%;z-index:40;
	background:#fff;border-bottom:1px solid var(--line);
	box-shadow:0 14px 26px rgba(180,130,60,.12);
	opacity:0;visibility:hidden;transform:translateY(-8px);
	transition:opacity .2s,transform .2s,visibility .2s}
#header.search-open .search-layer{opacity:1;visibility:visible;transform:none}
/* #header .container 의 flex/height 를 해제해야 검색바가 가운데, 태그가 그 아래로 옴 */
#header .search-layer .container{display:block;height:auto;
	padding-top:34px;padding-bottom:28px}

.search-form{display:flex;align-items:center;gap:10px;max-width:520px;margin:0 auto;
	padding-bottom:9px;border-bottom:1.5px solid #6f5232}
.search-form input{flex:1 1 auto;min-width:0;height:34px;border:0;background:none;
	font-size:15px;color:var(--ink)}
.search-form input::placeholder{color:#c2ae91}
.search-form input:focus{outline:none}
/* 검색 input 기본 UI(x 버튼) 제거 */
.search-form input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.search-submit{display:grid;place-items:center;width:30px;height:30px;flex:none;
	border-radius:50%;transition:background .15s}
.search-submit:hover{background:#fdf3e2}
.search-submit svg{width:20px;height:20px;fill:none;stroke:#6f5232;stroke-width:1.6}

.search-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:9px 20px;
	max-width:520px;margin:17px auto 0}
.search-tags a{font-size:12.5px;color:#a1885c;transition:color .15s}
.search-tags a:hover{color:var(--org-t);text-decoration:underline}

@media (max-width:560px){
	#header .search-layer .container{padding-top:24px;padding-bottom:20px}
	.search-form input{font-size:14px}
	.search-tags{gap:8px 14px;margin-top:14px}
}

/* -------------------------------------------------- paging */
.paging{display:flex;align-items:center;justify-content:center;gap:4px;
	margin-top:44px;padding-top:6px}
.paging .page-num,.paging .page-nav{display:grid;place-items:center;
	width:34px;height:34px;border-radius:50%;font-size:13px;transition:.15s}
.paging .page-num{font-weight:600;color:#c2ae91}
.paging .page-num:hover{background:#fdf3e2;color:var(--org-t)}
.paging .page-num.active{background:linear-gradient(180deg,#f6c069,#ef9f34);color:#fff;
	font-weight:700;box-shadow:0 6px 14px rgba(224,150,40,.30)}
.paging .page-nav svg{width:11px;height:11px;fill:none;stroke:#b09b78;stroke-width:2;
	stroke-linecap:round;stroke-linejoin:round}
.paging .page-nav:hover{background:#fdf3e2}
.paging .page-nav:hover svg{stroke:var(--org-t)}
/* 첫/마지막 페이지에서 비활성 */
.paging .page-nav.disabled{pointer-events:none;opacity:.35}

@media (max-width:560px){
	.paging{gap:1px;margin-top:32px}
	.paging .page-num,.paging .page-nav{width:29px;height:29px;font-size:12px}
}

/* -------------------------------------------------- 서브 페이지 공통 */
.page-title{font-family:var(--serif);font-size:28px;font-weight:700;letter-spacing:.01em;
	color:var(--gold)}
.page-title .count{font-family:var(--sans);font-size:18px;font-weight:700;color:var(--org-t)}

/* 체크박스 (기본 UI 감추고 브랜드 톤 박스로 대체) */
.chk{display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.chk input{position:absolute;width:1px;height:1px;opacity:0}
.chk .box{display:grid;place-items:center;width:18px;height:18px;flex:none;
	border:1px solid #e6d3ae;border-radius:4px;background:#fffdf8;transition:.15s}
.chk .box svg{width:11px;height:11px;fill:none;stroke:#fff;stroke-width:2.2;
	stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity .15s}
.chk input:checked+.box{background:var(--org);border-color:var(--org)}
.chk input:checked+.box svg{opacity:1}
.chk input:focus-visible+.box{box-shadow:0 0 0 3px rgba(240,164,78,.22)}
.chk .txt{font-size:13px;color:#8a7658}

/* -------------------------------------------------- cart */
.cart{background:#fff}
.cart-wrap{display:grid;grid-template-columns:1fr 330px;gap:26px;
	align-items:start;margin-top:24px}

.cart-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
	padding:0 4px 13px;border-bottom:2px solid #eaddc0}
.btn-del-sel{font-size:12.5px;color:#a1885c;transition:color .15s}
.btn-del-sel:hover{color:var(--org-t);text-decoration:underline}

.cart-item{display:grid;grid-template-columns:auto 96px 1fr auto auto auto;
	align-items:center;gap:16px;padding:20px 4px;border-bottom:1px solid var(--line)}
.cart-item.off{opacity:.5}
.cart-item .ci-thumb{position:relative;display:block;width:96px;aspect-ratio:1/.92;
	border-radius:8px;overflow:hidden;background:#fffaf1;border:1px solid #f2e6cf}
.cart-item .ci-thumb svg{width:100%;height:100%}
.cart-item .ci-thumb img{position:absolute;inset:0;width:100%;height:100%;z-index:2;
	object-fit:cover}
.cart-item .ci-badge{position:absolute;top:0;left:0;z-index:3;padding:2px 7px;
	border-radius:0 0 6px 0;background:var(--sale);color:#fff;font-size:9px;font-weight:700;
	letter-spacing:.04em}
.cart-item .ci-info{min-width:0}
.cart-item .ci-name{display:block;font-size:14px;font-weight:600;color:#5f4830;
	transition:color .15s}
.cart-item .ci-name:hover{color:var(--org-t)}
.cart-item .ci-opt{margin-top:6px;font-size:12px;color:var(--muted)}
.cart-item .ci-ship{display:flex;align-items:center;gap:5px;margin-top:8px;
	font-size:11.5px;color:#a1885c}
.cart-item .ci-ship svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;
	stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cart-item .qty{flex:none}
.cart-item .qty button{width:32px;height:36px;font-size:16px}
.cart-item .qty input{width:42px;height:36px;font-size:13px}
.cart-item .ci-price{min-width:92px;text-align:right}
.cart-item .ci-price strong{display:block;font-size:16px;font-weight:800;color:var(--org-t)}
.cart-item .ci-price .was{display:block;margin-top:3px;font-size:11.5px;color:var(--muted);
	text-decoration:line-through}
.cart-item .ci-act{display:flex;flex-direction:column;gap:6px}
.cart-item .ci-act button{display:grid;place-items:center;width:28px;height:28px;
	border-radius:50%;transition:background .15s}
.cart-item .ci-act button:hover{background:#fdf3e2}
.cart-item .ci-act svg{width:15px;height:15px;fill:none;stroke:#b09b78;stroke-width:1.6;
	stroke-linecap:round;stroke-linejoin:round}
.cart-item .ci-like.on svg{fill:var(--org);stroke:var(--org)}
.cart-item .ci-del:hover svg{stroke:#d9533a}

.cart-empty{padding:70px 0;text-align:center;font-size:14px;color:var(--muted)}
.cart-empty .btn-join{max-width:220px;margin:18px auto 0}
.cart-empty[hidden]{display:none}

/* 주문 요약 */
.cart-side{position:sticky;top:20px;display:grid;gap:14px}
.sum-box{padding:22px 22px 20px;border:1px solid #eddfc6;border-radius:12px;background:#fffdf8}
.sum-tit{font-size:16px;font-weight:700;color:var(--ink);padding-bottom:14px;
	border-bottom:1px solid var(--line)}
.sum-list{margin-top:14px}
.sum-list div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.sum-list div+div{margin-top:10px}
.sum-list dt{font-size:13px;color:#8a7658}
.sum-list dd{font-size:13.5px;font-weight:600;color:#5f4a2c}
.sum-list dd.minus{color:var(--sale)}
.sum-note{margin-top:12px;padding:9px 12px;border-radius:7px;background:#fdf3e2;
	font-size:11.5px;line-height:1.5;color:#a3702c}
.sum-note[hidden]{display:none}
.sum-total{display:flex;align-items:baseline;justify-content:space-between;gap:10px;
	margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}
.sum-total span{font-size:14px;font-weight:700;color:var(--ink)}
.sum-total strong{font-size:23px;font-weight:800;color:var(--org-t)}
.btn-checkout{display:block;width:100%;height:50px;margin-top:18px;border-radius:25px;
	background:linear-gradient(180deg,#f6c069,#ef9f34);color:#fff;
	font-size:15px;font-weight:700;letter-spacing:.01em;
	box-shadow:0 10px 20px rgba(224,150,40,.28);transition:filter .15s,transform .15s}
.btn-checkout:hover{filter:brightness(1.05);transform:translateY(-2px)}
.btn-checkout:disabled{background:#e8dcc4;color:#fff;box-shadow:none;
	cursor:default;transform:none;filter:none}
.btn-continue{display:flex;align-items:center;justify-content:center;gap:7px;
	height:42px;margin-top:10px;font-size:13px;color:#a1885c;transition:color .15s}
.btn-continue:hover{color:var(--org-t)}
.btn-continue svg{width:14px;height:11px;fill:none;stroke:currentColor;stroke-width:2}

.side-box{padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:#fff}
.side-box h4{font-size:13px;font-weight:700;color:var(--ink);margin-bottom:12px}
.side-box .pay{display:flex;gap:9px}
.side-box .pay .card{display:grid;place-items:center;width:66px;height:44px;border-radius:7px;
	overflow:hidden;border:1px solid #eee3cd}
.side-box .pay .alipay{background:#fff}
.side-box .pay .alipay b{font-size:18px;font-weight:700;color:#1677ff;line-height:1}
.side-box .pay .alipay i{margin-top:2px;font-size:9.5px;font-weight:800;color:#1a2b4c}
.side-box .pay .unionpay{background:linear-gradient(100deg,#e21836 0%,#e21836 42%,
	#00447c 42%,#00447c 100%);color:#fff;border-color:transparent}
.side-box .pay .unionpay b{font-size:10px;font-weight:800;line-height:1.1}
.side-box .pay .unionpay i{font-size:11px;font-weight:700;line-height:1.2}
.side-box.guard p{display:flex;gap:9px;font-size:12px;line-height:1.6;color:#8a7658}
.side-box.guard svg{width:17px;height:17px;flex:none;margin-top:1px;fill:none;
	stroke:#5aa86b;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

@media (max-width:1000px){
	.cart-wrap{grid-template-columns:1fr}
	.cart-side{position:static}
}
@media (max-width:700px){
	.cart-item{grid-template-columns:auto 76px 1fr auto;gap:11px 12px;padding:18px 2px}
	.cart-item .ci-thumb{width:76px}
	.cart-item .qty{grid-column:3;justify-self:start}
	.cart-item .ci-price{grid-column:4;grid-row:2;min-width:0}
	.cart-item .ci-act{grid-column:4;grid-row:1;flex-direction:row;align-self:start}
}

/* -------------------------------------------------- 게시판 (공지사항) */
.board{background:#fff}
.board-head{padding:16px 0 40px;text-align:center}
.board-head .page-title{font-size:34px;letter-spacing:.06em;color:#4a3a22}
.board-head .desc{margin-top:12px;font-size:14px;color:var(--muted)}

/* 브레드크럼은 공통 .crumb 사용 */

/* 목록 */
.board-list{width:100%;border-collapse:collapse;border-top:1px solid #eaddc0}
.board-list th{padding:15px 10px;background:#fdf7ed;border-bottom:1px solid var(--line);
	font-size:12.5px;font-weight:700;color:#8a7658;text-align:center}
.board-list td{padding:18px 10px;border-bottom:1px solid var(--line);
	font-size:13.5px;color:#8a7658;text-align:center}
.board-list .col-no{width:90px}
.board-list .col-writer{width:150px}
.board-list .col-date{width:110px}
.board-list .col-hit{width:80px}
.board-list .td-tit{text-align:left;padding-left:20px}
.board-list .td-tit a{color:#6f5c46;transition:color .15s}
.board-list .td-tit a:hover{color:var(--org-t);text-decoration:underline}
.board-list tr.notice{background:#fffdf5}
.board-list tr.notice .td-tit a{font-weight:700;color:#4a3a22}
.board-list .badge{display:inline-block;min-width:38px;padding:3px 8px;border-radius:11px;
	background:var(--org);color:#fff;font-size:10.5px;font-weight:700;letter-spacing:.03em}
.board-list .new{display:inline-block;margin-left:6px;padding:1px 5px;border-radius:3px;
	background:var(--sale);color:#fff;font-size:9px;font-weight:700;vertical-align:1px}
.board-list .empty{padding:70px 0;color:var(--muted)}

/* 검색 */
.board-search{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;
	margin-top:38px}
.board-search select,.board-search input{height:40px;border:1px solid #e6d3ae;border-radius:6px;
	background:#fffdf8;font-size:13px;color:var(--ink)}
.board-search select{padding:0 32px 0 12px;
	appearance:none;-webkit-appearance:none;
	background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='%23b09b78' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat:no-repeat;background-position:right 11px center;background-size:11px}
.board-search input{width:230px;padding:0 14px}
.board-search input::placeholder{color:#c9b596}
.board-search select:focus,.board-search input:focus{outline:none;border-color:var(--org);
	box-shadow:0 0 0 3px rgba(240,164,78,.16)}
.board-search .btn-find{height:40px;padding:0 22px;border-radius:6px;
	border:1px solid #e6d3ae;background:#fff;font-size:13px;font-weight:600;color:var(--ink-2);
	transition:border-color .15s,color .15s,background .15s}
.board-search .btn-find:hover{border-color:var(--org);background:#fffdf5;color:var(--org-t)}

/* 1:1 문의 — 제목줄 + 우측 버튼 */
.qna-head{display:flex;align-items:center;justify-content:space-between;gap:16px;
	flex-wrap:wrap;padding-bottom:22px}
.qna-head .page-title{font-size:24px}
.btn-write{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 20px;
	border-radius:19px;background:linear-gradient(180deg,#f6c069,#ef9f34);color:#fff;
	font-size:13px;font-weight:700;box-shadow:0 8px 16px rgba(224,150,40,.26);
	transition:filter .15s,transform .15s}
.btn-write:hover{filter:brightness(1.05);transform:translateY(-2px)}
.btn-write svg{width:13px;height:11px;fill:none;stroke:currentColor;stroke-width:2}

/* 조회 기간 필터 */
.filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;
	padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:#fffdf8}
.filter-bar .lb{flex:none;font-size:12.5px;font-weight:600;color:#8a7658}
.term-set{display:inline-flex;border:1px solid #e6d3ae;border-radius:6px;overflow:hidden;
	background:#fff}
.term-set button{padding:0 14px;height:36px;font-size:12.5px;color:#a1885c;
	transition:background .15s,color .15s}
.term-set button+button{border-left:1px solid #f0e2c8}
.term-set button:hover{background:#fdf6e7;color:var(--org-t)}
.term-set button.active{background:var(--org);color:#fff;font-weight:600}
.date-set{display:inline-flex;align-items:center;gap:8px}
.date-set input{height:36px;padding:0 12px;border:1px solid #e6d3ae;border-radius:6px;
	background:#fff;font-size:12.5px;color:var(--ink);font-family:var(--sans)}
.date-set input:focus{outline:none;border-color:var(--org);
	box-shadow:0 0 0 3px rgba(240,164,78,.16)}
.date-set .to{font-size:12px;color:var(--muted)}
.btn-search{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 20px;
	border-radius:6px;background:#6f5232;color:#fff;font-size:12.5px;font-weight:600;
	transition:background .15s}
.btn-search:hover{background:#57401f}
.btn-search svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}
/* 조회 필터 바로 아래 목록이 붙지 않도록 */
.filter-bar+.board-list{margin-top:26px}

/* 문의 상태 뱃지 */
.st{display:inline-block;min-width:74px;padding:4px 11px;border-radius:12px;
	font-size:11px;font-weight:700;letter-spacing:.02em}
.st-done{background:#eaf6ec;color:#3f8b52}
.st-wait{background:#fdf0e0;color:#c07a22}

/* 글쓰기 폼 (라벨 + 입력 2단) */
.form-table{border-top:2px solid #6f5232}
.form-row{display:grid;grid-template-columns:170px 1fr;align-items:start;
	border-bottom:1px solid var(--line)}
.form-row>.th{padding:18px 20px;background:#fdf7ed;font-size:13px;font-weight:600;
	color:#8a7658;align-self:stretch;display:flex;align-items:center}
.form-row>.th .req{margin-left:4px;color:var(--sale)}
.form-row>.td{padding:14px 20px;min-width:0}
.form-row .plain{padding:9px 0;font-size:13.5px;color:#5f4a2c}
.form-row .note{margin-bottom:10px;font-size:12px;color:var(--sale)}
.form-row .help{margin-top:8px;font-size:11.5px;line-height:1.6;color:var(--muted)}

.inp{height:42px;padding:0 14px;border:1px solid #e6d3ae;border-radius:6px;
	background:#fffdf8;font-size:13.5px;color:var(--ink);font-family:var(--sans)}
.inp:focus{outline:none;background:#fff;border-color:var(--org);
	box-shadow:0 0 0 3px rgba(240,164,78,.16)}
.inp.w-full{width:100%}
.inp.w-mid{width:100%;max-width:380px}
.inp.w-sm{width:100%;max-width:190px}
select.inp{padding-right:34px;appearance:none;-webkit-appearance:none;
	background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='%23b09b78' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat:no-repeat;background-position:right 12px center;background-size:11px}
textarea.inp{width:100%;height:320px;padding:14px;line-height:1.8;resize:vertical}

/* 입력 + 우측 안내문 (내 정보) */
.inp-hint{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.inp-hint .inp{flex:1 1 300px;min-width:0;max-width:none}
.inp-hint .msg{flex:1 1 240px;font-size:11.5px;line-height:1.5;color:#a1885c;text-align:right}
/* 비밀번호 3단 입력 */
.pw-set{display:grid;gap:8px}
.form-row .th small{display:block;margin-top:3px;font-size:11px;font-weight:400;
	color:var(--muted)}
.form-row .th{flex-direction:column;align-items:flex-start;justify-content:center}
/* 마케팅 수신 체크 묶음 */
.chk-set{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;padding:9px 0}
/* 회원 탈퇴 */
.btn-ghost{display:inline-flex;align-items:center;height:36px;padding:0 18px;
	border:1px solid #e6d3ae;border-radius:18px;background:#fffdf8;
	font-size:12.5px;color:var(--muted);transition:border-color .15s,color .15s}
.btn-ghost:hover{border-color:#d9917a;color:#c0603f}

@media (max-width:700px){
	.inp-hint .msg{flex:1 1 100%;text-align:left}
}

/* 첨부파일 */
.file-set{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.file-set .fname{flex:1 1 260px;min-width:0;height:42px;line-height:40px;padding:0 14px;
	border:1px solid #e6d3ae;border-radius:6px;background:#fffdf8;font-size:12.5px;
	color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-set input[type="file"]{position:absolute;width:1px;height:1px;opacity:0}
.btn-file,.btn-add{height:42px;padding:0 18px;border-radius:6px;border:1px solid #e6d3ae;
	background:#fff;font-size:12.5px;font-weight:600;color:var(--ink-2);cursor:pointer;
	display:inline-flex;align-items:center;transition:border-color .15s,color .15s,background .15s}
.btn-file:hover,.btn-add:hover{border-color:var(--org);background:#fffdf5;color:var(--org-t)}
.file-list{margin-top:10px}
.file-list li{display:flex;align-items:center;gap:8px;padding:7px 0;font-size:12.5px;
	color:#6f5c46}
.file-list li+li{border-top:1px dashed #f0e2c8}
.file-list button{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;
	transition:background .15s}
.file-list button:hover{background:#fdf3e2}
.file-list svg{width:12px;height:12px;fill:none;stroke:#b09b78;stroke-width:1.8;
	stroke-linecap:round}

/* 자동등록방지 */
.captcha{display:flex;flex-wrap:wrap;gap:18px}
.captcha-img{flex:none;width:300px;height:110px;display:grid;place-items:center;
	border:1px solid #e6d3ae;border-radius:8px;background:#fff;overflow:hidden}
.captcha-img svg{width:100%;height:100%}
.captcha-in{flex:1 1 240px;min-width:0}
.captcha-in p{font-size:12.5px;line-height:1.7;color:#8a7658}
.captcha-in .inp{margin-top:10px}
.btn-reload{display:inline-flex;align-items:center;gap:7px;height:34px;margin-top:9px;
	padding:0 14px;border:1px solid #e6d3ae;border-radius:6px;background:#fffdf8;
	font-size:12px;color:var(--ink-2);transition:border-color .15s,color .15s}
.btn-reload:hover{border-color:var(--org);color:var(--org-t)}
.btn-reload svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;
	stroke-linecap:round}

/* 휴대전화 3분할 입력 */
.tel-set{display:flex;align-items:center;gap:8px;max-width:400px}
.tel-set .inp{flex:1 1 0;min-width:0;max-width:none}
.tel-set .dash{flex:none;color:#c9b596}

/* -------------------------------------------------- 레이어 팝업 */
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}
.modal[hidden]{display:none}
.modal-dim{position:absolute;inset:0;background:rgba(74,58,34,.45);
	animation:modalDim .2s ease}
.modal-box{position:relative;z-index:1;display:flex;flex-direction:column;
	width:100%;max-width:640px;max-height:min(78vh,660px);
	border-radius:14px;background:#fff;overflow:hidden;
	box-shadow:0 24px 60px rgba(74,58,34,.30);animation:modalIn .22s ease}
@keyframes modalDim{from{opacity:0}to{opacity:1}}
@keyframes modalIn{from{opacity:0;transform:translateY(14px) scale(.98)}
	to{opacity:1;transform:none}}

.modal-head{flex:none;display:flex;align-items:center;gap:14px;
	padding:20px 22px;border-bottom:1px solid var(--line);background:#fdf7ed}
.modal-head h3{flex:1;min-width:0;font-size:16px;font-weight:700;color:#4a3a22}
.modal-x{flex:none;display:grid;place-items:center;width:32px;height:32px;
	border-radius:50%;transition:background .15s}
.modal-x:hover{background:#f8ead0}
.modal-x svg{width:15px;height:15px;fill:none;stroke:#8a7658;stroke-width:1.8;
	stroke-linecap:round}

.modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:24px 26px;
	font-size:13px;line-height:1.9;color:#8a7658}
.modal-body h5{margin-bottom:4px;font-size:13px;font-weight:700;color:#6f5c46}
.modal-body p+h5{margin-top:20px}
.modal-body p+p{margin-top:12px}
.modal-body strong{font-weight:700;color:#6f5c46}
.modal-body::-webkit-scrollbar{width:9px}
.modal-body::-webkit-scrollbar-track{background:#fdf6e7;border-radius:5px}
.modal-body::-webkit-scrollbar-thumb{background:#e6d3ae;border-radius:5px}
.modal-body::-webkit-scrollbar-thumb:hover{background:#d9bf90}

.modal-foot{flex:none;display:flex;justify-content:center;
	padding:16px 22px 20px;border-top:1px solid var(--line)}
.modal-foot .btn-close{min-width:130px;height:44px;padding:0 26px;border-radius:22px;
	background:linear-gradient(180deg,#f6c069,#ef9f34);color:#fff;
	font-size:14px;font-weight:700;box-shadow:0 8px 18px rgba(224,150,40,.26);
	transition:filter .15s,transform .15s}
.modal-foot .btn-close:hover{filter:brightness(1.05);transform:translateY(-2px)}

/* 팝업이 열린 동안 뒤 배경 스크롤 잠금 */
body.modal-open{overflow:hidden}

@media (max-width:560px){
	.modal{padding:12px}
	.modal-box{max-height:88vh}
	.modal-head{padding:16px 18px}
	.modal-body{padding:18px 18px;font-size:12.5px}
}

/* -------------------------------------------------- 약관 동의 */
.agree{margin-top:48px}
.agree-tit{padding-bottom:12px;border-bottom:2px solid #6f5232;
	font-size:17px;font-weight:700;color:var(--ink)}
.agree-all{display:flex;align-items:center;padding:20px 4px;
	border-bottom:1px solid var(--line)}
.agree-all .chk .txt{font-size:14px;font-weight:700;color:#4a3a22}
.agree-row{padding:16px 4px;border-bottom:1px solid var(--line)}
.agree-row .line{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px}
.agree-row .chk .txt{font-size:13px;color:#8a7658}
.agree-row .req-mark{color:var(--sale);font-weight:600}
.agree-row .opt-mark{color:var(--muted)}
.btn-terms{margin-left:auto;font-size:12px;color:#a1885c;text-decoration:underline;
	text-underline-offset:3px;transition:color .15s}
.btn-terms:hover{color:var(--org-t)}

.agree-error{margin-top:14px;font-size:12.5px;color:#d9533a}
.agree-error[hidden]{display:none}

@media (max-width:700px){
	.agree{margin-top:34px}
	/* 좁은 화면에선 줄바꿈되므로 폭을 채우고 오른쪽 끝에 붙임 */
	.btn-terms{width:100%;text-align:right}
}

/* 폼 하단 버튼 */
.form-foot{display:flex;justify-content:center;gap:10px;margin-top:34px}
.form-foot .btn-back{display:inline-flex;align-items:center;justify-content:center;
	min-width:130px;height:46px;padding:0 26px;border:1px solid #e6d3ae;border-radius:6px;
	background:#fffdf8;font-size:14px;font-weight:600;color:var(--ink-2);
	transition:border-color .15s,color .15s,background .15s}
.form-foot .btn-back:hover{border-color:var(--org);background:#fff;color:var(--org-t)}
.form-foot .btn-save{min-width:130px;height:46px;padding:0 26px;border-radius:6px;
	background:linear-gradient(180deg,#f6c069,#ef9f34);color:#fff;font-size:14px;
	font-weight:700;box-shadow:0 8px 18px rgba(224,150,40,.26);
	transition:filter .15s,transform .15s}
.form-foot .btn-save:hover{filter:brightness(1.05);transform:translateY(-2px)}

@media (max-width:700px){
	.form-row{grid-template-columns:1fr}
	.form-row>.th{padding:12px 14px}
	.form-row>.td{padding:14px}
	textarea.inp{height:240px}
	.captcha-img{width:100%}
}

/* -------------------------------------------------- 이벤트 */
.board-sort{display:flex;justify-content:flex-end;margin-bottom:22px}
.board-sort select{height:40px;padding:0 34px 0 14px;border:1px solid #e6d3ae;border-radius:6px;
	background-color:#fffdf8;font-size:13px;color:var(--ink);
	appearance:none;-webkit-appearance:none;
	background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='%23b09b78' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat:no-repeat;background-position:right 12px center;background-size:11px}
.board-sort select:focus{outline:none;border-color:var(--org);
	box-shadow:0 0 0 3px rgba(240,164,78,.16)}

.event-list{display:grid;grid-template-columns:repeat(3,1fr);gap:34px 26px}
.event-card .ev-thumb{position:relative;display:block;aspect-ratio:16/12;border-radius:10px;
	overflow:hidden;background:#fdf6e7;border:1px solid #f2e6cf;
	transition:box-shadow .2s,transform .2s}
.event-card .ev-thumb:hover{box-shadow:0 12px 26px rgba(196,140,70,.20);transform:translateY(-3px)}
.event-card .ev-thumb img{width:100%;height:100%;object-fit:cover}
.event-card .ev-thumb svg{width:100%;height:100%}
.event-card .ev-state{position:absolute;top:12px;left:12px;z-index:2;padding:4px 11px;
	border-radius:12px;font-size:10.5px;font-weight:700;letter-spacing:.03em;color:#fff}
.event-card .ev-state.ing{background:var(--org)}
.event-card .ev-state.end{background:#b0a186}
.event-card .ev-tit{display:block;margin-top:17px;font-size:15px;font-weight:700;
	line-height:1.45;color:#4a3a22;transition:color .15s}
.event-card a.ev-tit:hover{color:var(--org-t)}
.event-card .ev-desc{margin-top:9px;font-size:13px;line-height:1.6;color:var(--muted)}
.event-card .ev-meta{display:flex;align-items:center;gap:11px;margin-top:15px;
	font-size:12px;color:#b09b78}
.event-card .ev-meta .sep{width:1px;height:10px;background:#e6d9bf}
.event-empty{grid-column:1/-1;padding:80px 20px;text-align:center;color:var(--muted);
	border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.view-head .ev-state{display:inline-block;padding:4px 11px;border-radius:12px;
	font-size:10.5px;font-weight:700;letter-spacing:.03em;color:#fff}
.view-head .ev-state.ing{background:var(--org)}
.view-head .ev-state.end{background:#b0a186}

@media (max-width:900px){
	.event-list{grid-template-columns:repeat(2,1fr);gap:28px 20px}
}
@media (max-width:560px){
	.event-list{grid-template-columns:1fr}
}

/* 이벤트 상세 — 첨부파일 / 댓글 안내 */
.view-file{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:16px 20px;
	border-bottom:1px solid var(--line);font-size:12.5px;color:#8a7658}
.view-file .lb{flex:none;width:70px;font-weight:600;color:#a1885c}
.view-file a{display:inline-flex;align-items:center;gap:6px;color:#8a7658;transition:color .15s}
.view-file a:hover{color:var(--org-t);text-decoration:underline}
.view-file svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6}
.view-reply{padding:22px 20px;border-bottom:1px solid var(--line);
	font-size:13px;color:var(--muted)}
.view-reply a{color:var(--org-t);text-decoration:underline;text-underline-offset:3px}

/* 상세 */
.board-view{border-top:2px solid #6f5232}
.view-head{padding:30px 20px 22px;border-bottom:1px solid var(--line);text-align:center}
.view-head h3{font-size:19px;font-weight:700;line-height:1.5;color:#4a3a22}
.view-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;
	margin-top:14px;font-size:12.5px;color:var(--muted)}
.view-meta .sep{width:1px;height:11px;background:#e6d9bf}
.view-body{padding:36px 20px 60px;font-size:14px;line-height:1.9;color:#6f5c46;
	border-bottom:1px solid var(--line)}
.view-body p+p{margin-top:18px}
.view-body strong{font-weight:700;color:#4a3a22}
.view-body .view-img{margin:26px 0;border-radius:10px;overflow:hidden;border:1px solid var(--line)}
.view-body img{max-width:100%;height:auto}
.inquiry-file-link{display:inline-flex;align-items:center;gap:6px;color:#8a7658;font-size:12.5px}
.inquiry-file-link:hover{color:var(--org-t);text-decoration:underline}
.inquiry-file-link svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6}
.form-error{margin-top:16px;color:#c0603f;font-size:13px;text-align:center}

/* 1:1 문의 상세 — 상태 뱃지 + 답변 블록 */
.view-head .st{margin-bottom:13px}
.qa-answer{padding:26px 20px 30px;border-bottom:1px solid var(--line);background:#fffdf5}
.qa-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;
	padding-bottom:14px;border-bottom:1px dashed #eddfc6}
.qa-badge{display:inline-block;padding:4px 12px;border-radius:12px;background:var(--org);
	color:#fff;font-size:10.5px;font-weight:700;letter-spacing:.05em}
.qa-head .by{font-size:13px;font-weight:600;color:#6f5c46}
.qa-head .sep{width:1px;height:11px;background:#e6d9bf}
.qa-head time{font-size:12.5px;color:var(--muted)}
.qa-body{margin-top:18px;font-size:14px;line-height:1.9;color:#6f5c46}
.qa-body p+p{margin-top:16px}
.qa-body strong{font-weight:700;color:#4a3a22}
/* 답변 대기 상태 */
.qa-answer.wait .qa-body{color:var(--muted)}

/* 이전/다음 글 */
.view-nav{border-bottom:1px solid var(--line)}
.view-nav a,.view-nav span{display:flex;align-items:center;gap:16px;padding:14px 20px;
	font-size:13px;color:#8a7658}
.view-nav li+li{border-top:1px solid var(--line)}
.view-nav .lb{flex:none;width:70px;font-weight:600;color:#a1885c}
.view-nav a:hover .tt{color:var(--org-t);text-decoration:underline}
.view-nav .tt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.view-nav .none{color:#c2ae91}

.view-foot{display:flex;justify-content:center;gap:10px;margin-top:34px}
.btn-list{display:inline-flex;align-items:center;justify-content:center;min-width:130px;
	height:44px;padding:0 26px;border:1px solid #e6d3ae;border-radius:6px;background:#fffdf8;
	font-size:13.5px;font-weight:600;color:var(--ink-2);
	transition:border-color .15s,color .15s,background .15s}
.btn-list:hover{border-color:var(--org);background:#fff;color:var(--org-t)}

@media (max-width:700px){
	.board-head{padding-bottom:28px}
	.board-head .page-title{font-size:26px}
	.board-list .col-writer,.board-list .col-hit{display:none}
	.board-list th:nth-child(4),.board-list td:nth-child(4),
	.board-list th:nth-child(6),.board-list td:nth-child(6){display:none}
	.board-list .col-no{width:56px}
	.board-list .td-tit{padding-left:10px}
	.board-search input{width:100%;max-width:260px}
}

/* -------------------------------------------------- 마이페이지 */
.mypage .board-head{padding-bottom:34px}

/* 상단 메뉴 타일 4개 */
.my-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:52px}
.my-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;
	gap:12px;min-height:132px;padding:20px 14px;border-radius:12px;
	border:1px solid #eddfc6;background:#fffdf8;text-align:center;
	transition:border-color .18s,box-shadow .18s,transform .18s,background .18s}
.my-nav a:hover{border-color:var(--org);background:#fff;
	box-shadow:0 10px 22px rgba(196,140,70,.18);transform:translateY(-3px)}
.my-nav svg{width:30px;height:30px;fill:none;stroke:var(--org-d);stroke-width:1.4;
	stroke-linecap:round;stroke-linejoin:round}
.my-nav .tt{font-size:13.5px;font-weight:700;line-height:1.4;color:#6f5c46}
/* 현재 보고 있는 메뉴 */
.my-nav a.on{background:linear-gradient(180deg,#f6c069,#ef9f34);border-color:transparent;
	box-shadow:0 10px 22px rgba(224,150,40,.28)}
.my-nav a.on svg{stroke:#fff}
.my-nav a.on .tt{color:#fff}

/* 주문 상태 탭 */
.status-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:26px}
.status-tabs button{height:44px;padding:0 26px;border-radius:8px;
	border:1px solid #e6d3ae;background:#fffdf8;
	font-size:13px;font-weight:600;color:#8a7658;
	transition:border-color .15s,background .15s,color .15s}
.status-tabs button:hover{border-color:var(--org);background:#fff;color:var(--org-t)}
.status-tabs button.active{background:linear-gradient(180deg,#f6c069,#ef9f34);
	border-color:transparent;color:#fff;box-shadow:0 6px 14px rgba(224,150,40,.26)}

/* 주문 목록 */
.order-list{border-top:1px solid #eaddc0}
.order-item{padding:20px 4px 22px;border-bottom:1px solid var(--line)}
.order-item[hidden]{display:none}
.oi-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
	margin-bottom:14px}
.oi-state{font-size:14px;font-weight:700;color:#4a3a22}
.oi-state.cancel{color:var(--muted)}
.oi-del{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;
	transition:background .15s}
.oi-del:hover{background:#fdf3e2}
.oi-del svg{width:12px;height:12px;fill:none;stroke:#b09b78;stroke-width:1.8;
	stroke-linecap:round}
.oi-body{display:grid;grid-template-columns:96px 1fr auto;align-items:start;gap:18px}
.oi-thumb{position:relative;display:block;width:96px;aspect-ratio:1/.92;border-radius:8px;
	overflow:hidden;background:#fff;border:1px solid #f2e6cf}
.oi-thumb svg{width:100%;height:100%}
.oi-thumb img{position:absolute;inset:0;width:100%;height:100%;z-index:2;
	object-fit:contain;padding:8px;background:#fff}
.oi-info{min-width:0}
.oi-date{font-size:12px;color:var(--muted)}
.oi-name{display:block;margin-top:7px;font-size:14px;line-height:1.5;color:#5f4830;
	transition:color .15s}
.oi-name:hover{color:var(--org-t)}
.oi-price{display:flex;align-items:baseline;gap:8px;margin-top:8px;
	font-size:17px;font-weight:800;color:var(--org-t)}
.oi-price .qty{font-size:12px;font-weight:500;color:var(--muted)}
.oi-more{display:inline-flex;align-items:center;gap:5px;margin-top:10px;
	font-size:12.5px;font-weight:600;color:#a1885c;transition:color .15s}
.oi-more:hover{color:var(--org-t)}
.oi-more svg,.oi-seller svg{width:10px;height:10px;fill:none;stroke:currentColor;
	stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.oi-seller{align-self:center;display:inline-flex;align-items:center;gap:6px;flex:none;
	font-size:12.5px;color:var(--muted);transition:color .15s;white-space:nowrap}
.oi-seller:hover{color:var(--org-t)}

.order-empty{padding:70px 0;text-align:center;font-size:14px;color:var(--muted)}
.order-empty[hidden]{display:none}

/* 위시리스트 */
.wish-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
	gap:12px;padding:0 2px 14px;margin-bottom:20px;border-bottom:2px solid #eaddc0}
/* display 지정이 있으면 hidden 속성이 무시되므로 명시 */
.wish-head[hidden],.product-list[hidden]{display:none}
.wish-act{display:flex;flex-wrap:wrap;gap:8px}
.wish-act .ps-btn{height:36px;padding:0 20px;font-size:12.5px}
.wish-act .btn-ghost{height:36px}
/* 카드 좌상단 선택 체크박스 */
.wish-item .wish-chk{position:absolute;top:10px;left:10px;z-index:5}
.wish-item .wish-chk .box{background:rgba(255,255,255,.9);border-color:#e2cfa9}
.wish-item.off{opacity:.45}
/* 위시리스트에서는 하트가 '삭제' 역할이라 항상 채워진 상태 */
.wish-item .btn-like svg{fill:var(--org);stroke:var(--org)}
.wish-item .btn-like:hover svg{fill:#d9533a;stroke:#d9533a}

@media (max-width:900px){
	.my-nav{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:700px){
	.my-nav{gap:10px;margin-bottom:36px}
	.my-nav a{min-height:106px;padding:16px 10px;gap:9px}
	.status-tabs{gap:6px}
	.status-tabs button{height:38px;padding:0 14px;font-size:12px}
	.oi-body{grid-template-columns:76px 1fr;gap:12px}
	.oi-thumb{width:76px}
	.oi-seller{grid-column:1/-1;align-self:start}
}

/* -------------------------------------------------- login */
.login{background:#fff;padding:56px 0 48px}
.login-box{width:100%;max-width:430px;margin:0 auto;padding:0 26px}
.login-title{font-family:var(--serif);font-size:32px;font-weight:700;letter-spacing:.02em;
	text-align:center;color:var(--gold)}

.login-form{margin-top:42px}
.fld+.fld{margin-top:18px}
.fld label{display:block;margin-bottom:8px;font-size:12px;font-weight:600;
	letter-spacing:.06em;color:#a1885c}
.fld input{width:100%;height:50px;padding:0 18px;border:1px solid #eddfc6;border-radius:25px;
	background:#fffdf8;font-size:14px;color:var(--ink);
	transition:border-color .15s,box-shadow .15s,background .15s}
.fld input::placeholder{color:#c9b596}
.fld input:hover{border-color:#e3c99c}
.fld input:focus{outline:none;background:#fff;border-color:var(--org);
	box-shadow:0 0 0 3px rgba(240,164,78,.16)}
.fld-error{margin-top:12px;font-size:12px;color:#d9533a}
.fld-error[hidden]{display:none}

.login-util{display:flex;align-items:center;justify-content:space-between;gap:12px;
	margin-top:16px;padding:0 4px}
/* 로그인 유지 체크박스: 기본 체크박스를 숨기고 브랜드 톤 박스로 대체 */
.login-util .keep{display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.login-util .keep input{position:absolute;width:1px;height:1px;opacity:0}
.login-util .keep .box{display:grid;place-items:center;width:17px;height:17px;flex:none;
	border:1px solid #e6d3ae;border-radius:4px;background:#fffdf8;transition:.15s}
.login-util .keep .box svg{width:11px;height:11px;fill:none;stroke:#fff;stroke-width:2.2;
	stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity .15s}
.login-util .keep input:checked+.box{background:var(--org);border-color:var(--org)}
.login-util .keep input:checked+.box svg{opacity:1}
.login-util .keep input:focus-visible+.box{box-shadow:0 0 0 3px rgba(240,164,78,.22)}
.login-util .keep .txt{font-size:12.5px;color:#8a7658}
.login-util .find{font-size:12.5px;color:#a1885c}
.login-util .find a{transition:color .15s}
.login-util .find a:hover{color:var(--org-t);text-decoration:underline}
.login-util .find .sep{display:inline-block;margin:0 7px;color:#dcc9a8}

.btn-login{display:block;width:100%;height:52px;margin-top:26px;border-radius:26px;
	background:linear-gradient(180deg,#f6c069,#ef9f34);color:#fff;
	font-size:15px;font-weight:700;letter-spacing:.02em;
	box-shadow:0 10px 22px rgba(224,150,40,.30);transition:filter .15s,transform .15s}
/* 완료 화면의 a 태그 버튼도 일반 button과 동일하게 가로·세로 중앙 정렬한다. */
a.btn-login{display:flex;align-items:center;justify-content:center;line-height:1.2}
.btn-login:hover{filter:brightness(1.05);transform:translateY(-2px)}
.btn-login:disabled{cursor:not-allowed;filter:grayscale(.35);opacity:.65;transform:none}

/* SNS 로그인 */
.sns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:30px;
	padding-top:30px;border-top:1px solid var(--line)}
.sns-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:46px;
	border:1px solid #eddfc6;border-radius:23px;background:#fff;
	font-size:13px;font-weight:600;color:#6f5c46;
	transition:border-color .15s,box-shadow .15s,transform .15s}
.sns-btn:hover{border-color:var(--org);box-shadow:0 6px 16px rgba(196,140,70,.16);
	transform:translateY(-2px)}
/* 브랜드 로고는 심볼 내부 fill을 그대로 사용 */
.sns-ico{width:18px;height:18px;flex:none}

/* 회원가입 안내 */
.join-box{margin-top:32px;padding-top:30px;border-top:1px solid var(--line);text-align:center}
.join-txt{font-size:13px;line-height:1.7;color:var(--muted)}
.btn-join{display:block;width:100%;height:50px;line-height:48px;margin-top:18px;
	border:1px solid #e6d3ae;border-radius:25px;background:#fffdf8;
	font-size:14px;font-weight:600;color:var(--ink-2);
	transition:border-color .15s,color .15s,background .15s}
.btn-join:hover{border-color:var(--org);background:#fff;color:var(--org-t)}

/* -------------------------------------------------- 아이디 / 비밀번호 찾기 */
.find-tabs{display:grid;grid-template-columns:1fr 1fr;margin:36px 0 30px;
	border-bottom:2px solid var(--line)}
.find-tabs button{height:48px;font-size:14px;font-weight:600;color:#a1885c;
	border-bottom:2px solid transparent;margin-bottom:-2px;
	transition:color .15s,border-color .15s}
.find-tabs button:hover{color:var(--org-t)}
.find-tabs button[aria-selected="true"]{color:var(--org-t);font-weight:700;
	border-bottom-color:var(--org)}

.find-panel[hidden]{display:none}
.find-guide{margin-bottom:22px;padding:14px 16px;border-radius:8px;background:#fdf7ed;
	font-size:12.5px;line-height:1.7;color:#8a7658}
.find-panel .btn-login{margin-top:22px}

/* 전송 완료 안내 */
.find-done{padding:12px 0 4px;text-align:center}
.find-done[hidden]{display:none}
.find-done .ico{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 20px;
	border-radius:50%;background:#eaf6ec}
.find-done .ico svg{width:26px;height:26px;fill:none;stroke:#3f8b52;stroke-width:2.4;
	stroke-linecap:round;stroke-linejoin:round}
.find-done h3{font-size:18px;font-weight:700;color:#4a3a22}
.find-done p{margin-top:12px;font-size:13.5px;line-height:1.8;color:#8a7658}
.find-done p b{font-weight:700;color:var(--org-t)}
.find-done .btn-login{margin-top:26px}
.find-done .btn-again{display:block;width:100%;height:44px;margin-top:10px;
	font-size:13px;color:#a1885c;transition:color .15s}
.find-done .btn-again:hover{color:var(--org-t)}

.find-links{display:flex;align-items:center;justify-content:center;gap:14px;
	margin-top:26px;font-size:12.5px;color:#a1885c}
.find-links a{transition:color .15s}
.find-links a:hover{color:var(--org-t);text-decoration:underline}
.find-links .sep{width:1px;height:11px;background:#e6d9bf}

.login-secure{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:24px;
	font-size:11.5px;color:#b49c7d}
.login-secure svg{width:13px;height:13px;flex:none;fill:none;stroke:currentColor;stroke-width:2}

@media (max-width:560px){
	.login{padding:36px 0 40px}
	.login-title{font-size:26px}
	.login-form{margin-top:30px}
	.sns{grid-template-columns:1fr}
}
