/*
Theme Name: e방수자재마트
Theme URI: https://smartstore.naver.com/yn-chilman
Author: e방수자재마트
Description: 방수 자재 전문점 e방수자재마트 전용 워드프레스 테마. 네이버 스마트스토어 상품 진열 및 구매 연결, 카테고리/베스트 상품/공지사항 구성.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ebangsu
*/

/* =========================================================
   디자인 토큰
   ========================================================= */
:root{
	--blue:#1f5fa8;          /* 메인 액션/로고/링크 */
	--blue-dark:#184b85;
	--blue-050:#eef4fb;
	--navy:#1e3a5c;          /* 약속 배너 */
	--navy-2:#16324f;
	--topbar:#182a3f;        /* 상단 유틸바 */
	--foot:#232a32;          /* 푸터 */
	--ink:#1f2733;
	--muted:#6c7684;
	--muted-2:#9aa4ae;
	--line:#e5e9ee;
	--line-2:#eef1f4;
	--bg:#ffffff;
	--bg-soft:#f5f7fa;
	--paper:#f0f4f8;
	--naver:#03c75a;
	--won:#e23b3b;

	--wrap:1500px;
	--radius:10px;
	--radius-sm:7px;
	--font:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,system-ui,"Malgun Gothic","맑은 고딕",sans-serif;
	--mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
	--shadow:0 2px 10px rgba(24,42,63,.06);
	--shadow-h:0 10px 26px rgba(24,42,63,.13);
}

/* =========================================================
   기본
   ========================================================= */
*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
	margin:0; font-family:var(--font); color:var(--ink);
	background:var(--bg); line-height:1.6; font-size:15px;
	-webkit-font-smoothing:antialiased; word-break:keep-all;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 24px; }
.eyebrow{ font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--blue); font-weight:600; }
.skip-link{ position:absolute; left:-9999px; }
.skip-link:focus{ left:12px; top:12px; background:#fff; padding:8px 14px; z-index:1000; border-radius:6px; }

/* =========================================================
   버튼
   ========================================================= */
.btn{
	display:inline-flex; align-items:center; justify-content:center; gap:7px;
	padding:11px 20px; border-radius:var(--radius-sm); font-weight:700; font-size:14px;
	border:1.5px solid transparent; transition:.16s ease; white-space:nowrap; line-height:1;
}
.btn-buy{ background:var(--blue); color:#fff; }
.btn-buy:hover{ background:var(--blue-dark); }
.btn-outline{ background:#fff; color:var(--blue); border-color:var(--blue); }
.btn-outline:hover{ background:var(--blue); color:#fff; }
.btn-line{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-line:hover{ border-color:var(--blue); color:var(--blue); }
.btn-naver{ background:var(--naver); color:#fff; }
.btn-naver:hover{ filter:brightness(.94); }
.btn-block{ width:100%; }
.btn-lg{ padding:14px 26px; font-size:15px; }
.btn .btn-ico{ width:17px; height:17px; }
.n-badge{ display:inline-grid; place-items:center; width:18px; height:18px; background:#fff; color:var(--naver); font-weight:900; border-radius:4px; font-size:12px; }
.btn-naver .n-badge{ background:#fff; }

/* =========================================================
   상단 유틸 바
   ========================================================= */
.util-bar{ background:var(--topbar); color:#c8d3df; font-size:12.5px; }
.util-bar .wrap{ display:flex; align-items:center; justify-content:space-between; height:38px; }
.util-bar .u-left b{ color:#fff; font-weight:700; }
.util-bar .u-nav{ display:flex; align-items:center; gap:0; }
.util-bar .u-nav a{ color:#c8d3df; padding:0 12px; position:relative; }
.util-bar .u-nav a:hover{ color:#fff; }
.util-bar .u-nav a+a::before{ content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:1px; height:11px; background:#3a4c62; }

/* =========================================================
   헤더
   ========================================================= */
.site-header{ background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:100; }
.header-main{ display:flex; align-items:center; gap:28px; height:82px; }
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand .logo-img{ max-height:46px; width:auto; }
.brand .b-text{ font-size:25px; font-weight:800; letter-spacing:-.02em; color:var(--ink); }
.brand .b-text .e{ color:var(--blue); }
.brand .b-text .sub{ display:block; font-family:var(--mono); font-size:9.5px; letter-spacing:.14em; color:var(--muted-2); font-weight:500; margin-top:1px; }

.main-nav{ flex:1 1 auto; padding:0 22px; }
.primary-menu{ list-style:none; margin:0; padding:0; display:flex; align-items:center; justify-content:space-between; width:100%; gap:0; }
.primary-menu li a{ display:block; padding:13px 16px; font-size:17px; font-weight:600; color:#33404f; border-radius:6px; letter-spacing:-.01em; white-space:nowrap; }
.primary-menu li a:hover, .primary-menu li.current-menu-item>a{ color:var(--blue); background:var(--blue-050); }
.primary-menu li{ position:relative; }
.primary-menu .caret{ font-size:11px; color:var(--muted-2); margin-left:1px; }
.primary-menu li:hover > a .caret, .primary-menu li.current-menu-parent > a .caret{ color:var(--blue); }
.primary-menu .dropdown, .primary-menu .sub-menu{
	list-style:none; margin:0; padding:6px; position:absolute; top:100%; left:0; min-width:184px;
	background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow-h);
	opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .16s ease, transform .16s ease, visibility .16s; z-index:120;
}
.primary-menu li:hover > .dropdown, .primary-menu li:hover > .sub-menu,
.primary-menu li.open > .dropdown, .primary-menu li.open > .sub-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.primary-menu .dropdown li, .primary-menu .sub-menu li{ position:relative; }
.primary-menu .dropdown li a, .primary-menu .sub-menu li a{ display:block; padding:11px 14px; font-size:15px; font-weight:600; color:#3a4756; border-radius:7px; white-space:nowrap; }
.primary-menu .dropdown li a:hover, .primary-menu .sub-menu li a:hover{ background:var(--blue-050); color:var(--blue); }

.header-contact{ display:flex; align-items:center; gap:11px; flex-shrink:0; }
.header-contact .hc-ico{ width:32px; height:32px; color:var(--blue); flex-shrink:0; }
.header-contact .hc-tel{ font-size:26px; font-weight:800; color:var(--blue); line-height:1; letter-spacing:-.01em; }

.header-login{ flex-shrink:0; width:44px; height:44px; border-radius:50%; border:1.5px solid var(--line); display:grid; place-items:center; color:#33404f; transition:.16s; margin-left:6px; }
.header-login:hover{ border-color:var(--blue); color:var(--blue); background:var(--blue-050); }
.header-login .hl-ico{ width:22px; height:22px; }

.nav-toggle{ display:none; margin-left:auto; width:44px; height:44px; border:1px solid var(--line); border-radius:8px; background:#fff; flex-direction:column; gap:5px; align-items:center; justify-content:center; }
.nav-toggle span{ width:20px; height:2px; background:var(--ink); border-radius:2px; }

/* =========================================================
   히어로 (슬라이더)
   ========================================================= */
.hero{ background:linear-gradient(180deg,#eaf0f6,#dde7f0); position:relative; overflow:hidden; }
.hero-slider{ position:relative; }
.hero-slide{ display:none; }
.hero-slide.is-active{ display:block; animation:fade .5s ease; }
@keyframes fade{ from{ opacity:.4; } to{ opacity:1; } }
.hero-inner{ display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:center; min-height:430px; padding:44px 0; }
.hero-copy h1{ font-size:44px; font-weight:800; line-height:1.18; letter-spacing:-.02em; color:var(--ink); }
.hero-copy h1 .brand-line{ color:var(--blue); display:block; }
.hero-copy .lead{ margin-top:18px; font-size:17px; color:#40505f; line-height:1.6; }
.hero-badges{ display:flex; gap:30px; margin-top:34px; flex-wrap:wrap; }
.hero-badge{ text-align:center; max-width:120px; }
.hero-badge .hb-ico{ width:44px; height:44px; margin:0 auto 10px; color:var(--blue); }
.hero-badge .hb-t{ font-size:14.5px; font-weight:700; color:var(--ink); }
.hero-badge .hb-d{ font-size:12px; color:var(--muted); margin-top:3px; }

.hero-visual{ position:relative; border-radius:14px; overflow:hidden; aspect-ratio:16/11; box-shadow:0 16px 40px rgba(24,54,90,.2); }
.hero-visual img{ width:100%; height:100%; object-fit:cover; }
.hero-visual .ph{ width:100%; height:100%; display:grid; place-items:center; background:linear-gradient(135deg,#3f6fa5,#20456e); color:#cfe0f0; }
.hero-visual .ph svg{ width:76px; height:76px; opacity:.85; }

.hero-nav{ position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.7); border:none; display:grid; place-items:center; color:var(--navy); z-index:5; transition:.15s; }
.hero-nav:hover{ background:#fff; box-shadow:var(--shadow); }
.hero-nav svg{ width:22px; height:22px; }
.hero-prev{ left:16px; }
.hero-next{ right:16px; }
.hero-dots{ position:absolute; bottom:22px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:5; }
.hero-dot{ width:9px; height:9px; border-radius:50%; background:rgba(31,58,92,.28); border:none; padding:0; transition:.15s; }
.hero-dot.is-active{ background:var(--blue); width:24px; border-radius:5px; }

/* =========================================================
   섹션 공통
   ========================================================= */
.section{ padding:64px 0; }
.section.alt{ background:var(--bg-soft); }
.sec-head{ text-align:center; margin-bottom:38px; }
.sec-head h2{ font-size:27px; font-weight:800; color:var(--ink); letter-spacing:-.02em; }
.sec-head p{ margin-top:9px; font-size:14.5px; color:var(--muted); }

/* =========================================================
   카테고리
   ========================================================= */
.cat-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:16px; }
.cat-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px 14px 22px; text-align:center; transition:.18s ease; }
.cat-card:hover{ border-color:var(--blue); box-shadow:var(--shadow-h); transform:translateY(-3px); }
.cat-ico{ width:56px; height:56px; margin:0 auto 14px; color:var(--blue); }
.cat-ico svg{ width:100%; height:100%; }
.cat-card .c-name{ font-size:16px; font-weight:700; color:var(--ink); }
.cat-card .c-desc{ font-size:12px; color:var(--muted); margin-top:6px; line-height:1.5; }

/* =========================================================
   상품 카드
   ========================================================= */
.product-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.product-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; transition:.18s ease; }
.product-card:hover{ box-shadow:var(--shadow-h); border-color:#d3dbe4; }
.product-card .thumb{ display:block; position:relative; aspect-ratio:1/1; background:var(--bg-soft); overflow:hidden; }
.product-card .thumb img{ width:100%; height:100%; object-fit:cover; transition:.3s; }
.product-card:hover .thumb img{ transform:scale(1.04); }
.product-card .thumb .noimg{ position:absolute; inset:0; display:grid; place-items:center; color:var(--muted-2); font-size:13px; }
.product-card .soldout-flag{ position:absolute; top:10px; left:10px; background:rgba(31,39,51,.82); color:#fff; font-size:11px; font-weight:700; padding:4px 9px; border-radius:5px; z-index:2; }
.product-card .body{ padding:15px 15px 6px; flex:1; }
.product-card .cat{ font-size:11.5px; color:var(--blue); font-weight:600; }
.product-card .title{ font-size:14.5px; font-weight:600; line-height:1.45; margin:5px 0 12px; color:var(--ink); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.9em; }
.product-card .title a:hover{ color:var(--blue); }
.product-card .price{ font-size:19px; font-weight:800; color:var(--ink); letter-spacing:-.01em; }
.product-card .price .won-mark{ font-size:15px; font-weight:700; margin-right:1px; }
.product-card .price .strike{ display:block; font-size:12.5px; font-weight:500; color:var(--muted-2); text-decoration:line-through; margin-bottom:1px; }
.product-card .card-foot{ padding:12px 15px 15px; }
.product-card .btn-buy{ font-size:14px; }

.empty-state{ text-align:center; padding:50px 0; color:var(--muted); }
.empty-state .es-sub{ font-size:13px; color:var(--muted-2); margin-top:6px; }

/* =========================================================
   약속 배너
   ========================================================= */
.promise{ position:relative; background:linear-gradient(120deg,var(--navy-2),var(--navy)); color:#fff; overflow:hidden; }
.promise::after{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 82% 18%,rgba(120,180,230,.16),transparent 46%); pointer-events:none; }
.promise .wrap{ position:relative; display:grid; grid-template-columns:0.9fr 2.6fr; gap:34px; align-items:center; padding:46px 24px; }
.promise-lead{ font-size:23px; font-weight:800; line-height:1.35; letter-spacing:-.02em; }
.promise-items{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.promise-item{ text-align:center; }
.promise-item .pi-ico{ width:42px; height:42px; margin:0 auto 12px; color:#8fc3ec; }
.promise-item .pi-t{ font-size:15px; font-weight:700; }
.promise-item .pi-d{ font-size:12.5px; color:#a9c0d6; margin-top:5px; line-height:1.5; }

/* =========================================================
   회사소개 + 고객센터
   ========================================================= */
.info-row{ display:grid; grid-template-columns:1.05fr 1.1fr 0.95fr; gap:34px; align-items:stretch; }
.about h3, .cscenter h3{ font-size:20px; font-weight:800; color:var(--ink); margin-bottom:16px; }
.about .about-text{ color:#4b5563; font-size:14.5px; line-height:1.75; white-space:pre-line; }
.about .btn{ margin-top:20px; }
.store-photo{ border-radius:var(--radius); overflow:hidden; min-height:220px; box-shadow:var(--shadow); background:var(--paper); }
.store-photo img{ width:100%; height:100%; object-fit:cover; }
.store-photo .ph{ width:100%; height:100%; min-height:220px; display:grid; place-items:center; color:var(--muted-2); background:linear-gradient(135deg,#e7edf3,#dbe4ee); }
.store-photo .ph svg{ width:56px; height:56px; }
.cscenter{ }
.cscenter .cs-tel{ font-size:31px; font-weight:800; color:var(--blue); letter-spacing:-.01em; line-height:1; }
.cs-hours{ margin-top:16px; border-top:1px solid var(--line); padding-top:14px; }
.cs-hours dl{ margin:0; display:grid; grid-template-columns:auto 1fr; gap:6px 14px; }
.cs-hours dt{ color:var(--muted); font-size:13px; }
.cs-hours dd{ margin:0; color:var(--ink); font-size:13.5px; font-weight:600; }
.cscenter .btn{ margin-top:18px; }

/* =========================================================
   공지사항
   ========================================================= */
.notice-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.notice-head h2{ font-size:22px; font-weight:800; color:var(--ink); }
.notice-head .more{ font-size:13px; color:var(--muted); }
.notice-head .more:hover{ color:var(--blue); }
.notice-list{ border-top:2px solid var(--ink); }
.notice-item{ display:flex; align-items:center; gap:22px; padding:18px 6px; border-bottom:1px solid var(--line); }
.notice-item:hover{ background:var(--bg-soft); }
.notice-date{ text-align:center; flex-shrink:0; width:58px; }
.notice-date .d{ font-size:24px; font-weight:800; color:var(--blue); line-height:1; }
.notice-date .ym{ font-family:var(--mono); font-size:11px; color:var(--muted-2); margin-top:4px; }
.notice-body{ min-width:0; }
.notice-body .n-title{ font-size:15.5px; font-weight:700; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.notice-item:hover .n-title{ color:var(--blue); }
.notice-body .n-ex{ font-size:13px; color:var(--muted); margin-top:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* =========================================================
   푸터
   ========================================================= */
.site-footer{ background:var(--foot); color:#aab3bd; font-size:13.5px; margin-top:0; }
.foot-top{ padding:46px 0 34px; }
.foot-cols{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:30px; }
.foot-brand .fb-logo{ font-size:22px; font-weight:800; color:#fff; letter-spacing:-.02em; }
.foot-brand .fb-logo .e{ color:#6aa9e0; }
.foot-brand .fb-info{ margin-top:16px; line-height:1.85; font-size:12.5px; color:#8b96a2; }
.foot-brand .fb-info b{ color:#c3cbd3; font-weight:600; }
.foot-col h4{ color:#fff; font-size:14px; font-weight:700; margin-bottom:14px; }
.foot-col .cs-big{ font-size:24px; font-weight:800; color:#fff; letter-spacing:-.01em; }
.foot-col .cs-lines{ margin-top:10px; line-height:1.8; font-size:12.5px; color:#8b96a2; }
.foot-links{ display:flex; flex-direction:column; gap:9px; }
.foot-links a{ color:#aab3bd; font-size:13px; }
.foot-links a:hover{ color:#fff; }
.foot-sns{ display:flex; gap:10px; flex-wrap:wrap; }
.foot-sns a{ width:38px; height:38px; border-radius:9px; display:grid; place-items:center; font-weight:800; font-size:14px; color:#fff; transition:.15s; }
.foot-sns a:hover{ transform:translateY(-2px); }
.sns-naver_blog{ background:#03c75a; }
.sns-naver{ background:#03c75a; }
.sns-instagram{ background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sns-youtube{ background:#ff0000; }
.foot-bottom{ border-top:1px solid #333b44; padding:16px 0; }
.foot-bottom .wrap{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.foot-bottom .copy{ font-size:12.5px; color:#7c8792; }
.foot-bottom .fb-store{ font-size:12.5px; color:#8b96a2; }
.foot-bottom .fb-store:hover{ color:#fff; }

/* =========================================================
   공지사항 + 상담문의 게시판
   ========================================================= */
.board-row{ display:grid; grid-template-columns:1fr 1fr; gap:54px; }
.board-head{ display:flex; align-items:baseline; justify-content:space-between; padding-bottom:14px; }
.board-head h2{ display:flex; align-items:baseline; gap:8px; }
.board-eng{ font-family:Georgia,"Times New Roman",serif; font-size:23px; font-weight:700; letter-spacing:.03em; color:var(--ink); }
.board-ko{ font-size:16px; font-weight:700; color:var(--blue); }
.board-more{ font-size:12px; font-weight:600; letter-spacing:.06em; color:var(--muted-2); }
.board-more span{ color:var(--muted); margin-left:1px; }
.board-more:hover{ color:var(--blue); }
.board-actions{ display:flex; align-items:center; gap:12px; }
.board-write{ background:var(--blue); color:#fff; border:none; font-size:12.5px; font-weight:700; padding:6px 13px; border-radius:20px; transition:background .15s; }
.board-write:hover{ background:var(--blue-dark); }
.board-list{ border-top:2px solid var(--ink); }
.board-item{ display:flex; align-items:center; gap:16px; padding:15px 4px; border-bottom:1px solid var(--line); }
.board-item:hover{ background:#fff; }
.bi-date{ font-family:var(--mono); font-size:12.5px; color:var(--muted-2); flex-shrink:0; width:84px; }
.bi-new{ flex-shrink:0; background:#f2641e; color:#fff; font-size:11px; font-weight:700; padding:3px 9px; border-radius:20px; line-height:1.4; }
.bi-title{ flex:1; min-width:0; font-size:14.5px; font-weight:600; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.board-item:hover .bi-title{ color:var(--blue); }
.bi-ico{ flex-shrink:0; width:18px; height:18px; color:var(--muted-2); }
.bi-ico svg{ width:100%; height:100%; }
.bi-meta{ flex-shrink:0; display:flex; align-items:center; gap:14px; font-size:13px; color:var(--muted); }
.bi-meta .bi-region{ color:#4a5a6a; }
.bi-meta .bi-name{ color:#4a5a6a; }
.bi-meta .bi-phone{ font-family:var(--mono); font-size:12.5px; color:var(--muted); }
.bi-status{ flex-shrink:0; padding:5px 13px; border-radius:20px; font-size:12px; font-weight:700; }
.bi-status.done{ background:#e6f4ea; color:#2f9e44; }
.bi-status.wait{ background:#fdece0; color:#e8590c; }
.board-empty{ padding:40px 4px; color:var(--muted-2); font-size:14px; }

/* =========================================================
   하단 고정 바 + 맨 위로
   ========================================================= */
body{ padding-bottom:62px; }
.fixed-bar{ position:fixed; left:0; right:0; bottom:0; z-index:200; display:grid; grid-template-columns:repeat(3,1fr); box-shadow:0 -2px 14px rgba(0,0,0,.16); }
.fixed-bar a, .fixed-bar button{ display:flex; align-items:center; justify-content:center; gap:10px; width:100%; height:62px; border:none; font-family:inherit; color:#fff; font-size:16px; font-weight:700; letter-spacing:-.01em; cursor:pointer; transition:filter .15s; }
.fixed-bar a:hover, .fixed-bar button:hover{ filter:brightness(1.07); }
.fixed-bar .fb-ico{ width:22px; height:22px; }
.fb-call{ background:#f28c1e; }
.fb-sms{ background:#57ba5a; }
.fb-inquiry{ background:#9b46b0; }

.to-top{ position:fixed; right:22px; bottom:80px; z-index:200; width:46px; height:46px; border-radius:50%; background:var(--foot); color:#fff; border:none; display:grid; place-items:center; box-shadow:var(--shadow-h); opacity:0; visibility:hidden; transition:.2s ease; }
.to-top.show{ opacity:1; visibility:visible; }
.to-top:hover{ background:var(--blue); transform:translateY(-2px); }
.to-top .tt-ico{ width:22px; height:22px; }

/* =========================================================
   온라인 문의 사이드 패널
   ========================================================= */
.inq-overlay{ position:fixed; inset:0; background:rgba(20,32,48,.5); z-index:300; opacity:0; transition:opacity .25s ease; }
.inq-overlay.show{ opacity:1; }
.inq-panel{ position:fixed; top:0; right:0; height:100%; width:400px; max-width:90vw; background:#fff; z-index:301; box-shadow:-8px 0 30px rgba(20,32,48,.22); transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1); display:flex; flex-direction:column; overflow-y:auto; }
.inq-panel.open{ transform:translateX(0); }
.inq-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:24px 24px 20px; background:linear-gradient(120deg,var(--blue),var(--blue-dark)); color:#fff; }
.inq-logo{ font-size:22px; font-weight:800; letter-spacing:-.02em; color:#fff; }
.inq-logo .e{ color:#b9d6f2; }
.inq-title{ font-size:16px; font-weight:700; margin-top:12px; }
.inq-sub{ font-size:12.5px; color:#dbe8f6; margin-top:4px; line-height:1.5; }
.inq-sub b{ color:#fff; }
.inq-close{ background:rgba(255,255,255,.18); border:none; color:#fff; width:34px; height:34px; border-radius:8px; font-size:22px; line-height:1; flex-shrink:0; }
.inq-close:hover{ background:rgba(255,255,255,.3); }
.inq-form{ padding:22px 24px 30px; display:flex; flex-direction:column; gap:15px; }
.inq-field{ display:block; }
.inq-field > span{ display:block; font-size:13px; font-weight:700; color:var(--ink); margin-bottom:6px; }
.inq-field em{ color:var(--won); font-style:normal; }
.inq-field input, .inq-field textarea{ width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:8px; font-family:inherit; font-size:14px; color:var(--ink); background:#fff; transition:border-color .15s; }
.inq-field input:focus, .inq-field textarea:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-050); }
.inq-field textarea{ resize:vertical; min-height:110px; }
.inq-hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.inq-agree{ display:flex; align-items:flex-start; gap:8px; font-size:12.5px; color:var(--muted); line-height:1.5; }
.inq-agree input{ margin-top:2px; }
.inq-submit{ margin-top:4px; }
.inq-msg{ font-size:13px; text-align:center; padding:2px; min-height:18px; }
.inq-msg.ok{ color:#2f9e44; font-weight:600; }
.inq-msg.err{ color:var(--won); font-weight:600; }
.inq-contact{ border-top:1px solid var(--line); margin-top:4px; padding-top:16px; display:flex; flex-direction:column; gap:10px; }
.ic-row{ display:flex; align-items:center; justify-content:space-between; }
.ic-label{ font-size:13px; color:var(--muted); font-weight:600; }
.ic-tel{ font-size:24px; font-weight:800; color:var(--blue); letter-spacing:-.01em; line-height:1; }
.ic-mobile{ color:var(--navy); }
.ic-naver{ text-align:center; font-size:12.5px; color:var(--blue); font-weight:600; margin-top:4px; }



/* =========================================================
   상품 상세 / 아카이브 (기존 유지 보강)
   ========================================================= */
.page-hero{ background:var(--bg-soft); border-bottom:1px solid var(--line); padding:34px 0; }
.page-hero h1{ font-size:28px; font-weight:800; }
.page-hero .crumb{ font-size:13px; color:var(--muted); margin-top:6px; }
.cat-filter{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px; }
.cat-filter a{ padding:7px 15px; border:1px solid var(--line); border-radius:20px; font-size:13.5px; color:var(--ink); background:#fff; }
.cat-filter a:hover, .cat-filter a.on{ background:var(--blue); color:#fff; border-color:var(--blue); }
.pagination{ display:flex; justify-content:center; gap:6px; margin-top:36px; }
.pagination .page-numbers{ min-width:38px; text-align:center; padding:8px 10px; border:1px solid var(--line); border-radius:7px; background:#fff; font-size:14px; }
.pagination .page-numbers.current{ background:var(--blue); color:#fff; border-color:var(--blue); }

.single-product{ padding:48px 0; }
.sp-grid{ display:grid; grid-template-columns:1fr 1fr; gap:44px; }
.sp-gallery{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--bg-soft); aspect-ratio:1/1; }
.sp-gallery img{ width:100%; height:100%; object-fit:cover; }
.sp-gallery .noimg{ width:100%; height:100%; display:grid; place-items:center; color:var(--muted-2); }
.sp-info .sp-cat{ color:var(--blue); font-weight:600; font-size:13px; }
.sp-info h1{ font-size:26px; font-weight:800; margin:8px 0 16px; line-height:1.3; }
.sp-price{ font-size:28px; font-weight:800; color:var(--ink); padding:16px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.sp-price .strike{ font-size:15px; color:var(--muted-2); text-decoration:line-through; font-weight:500; margin-right:10px; }
.sp-price .won-mark{ font-size:20px; }
.sp-buy{ margin:22px 0; }
.sp-note{ font-size:13px; color:var(--muted); display:flex; align-items:center; gap:7px; }
.sp-note b{ color:var(--blue); }
.sp-desc{ margin-top:36px; line-height:1.8; }
.sp-desc img{ margin:14px 0; border-radius:8px; }

.content-narrow{ max-width:780px; margin:0 auto; padding:50px 24px; line-height:1.8; }
.content-narrow h1{ font-size:28px; font-weight:800; margin-bottom:20px; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width:1080px){
	.cat-grid{ grid-template-columns:repeat(3,1fr); }
	.product-grid{ grid-template-columns:repeat(3,1fr); }
	.info-row{ grid-template-columns:1fr; }
	.store-photo{ min-height:260px; }
}
@media (max-width:900px){
	.util-bar .u-left{ display:none; }
	.util-bar .wrap{ justify-content:flex-end; }
	.main-nav, .header-contact{ display:none; }
	.header-main{ height:66px; }
	.header-login{ margin-left:auto; width:42px; height:42px; }
	.nav-toggle{ display:flex; margin-left:8px; }
	.main-nav.open{ display:block; position:absolute; top:100%; left:0; right:0; background:#fff; border-bottom:1px solid var(--line); box-shadow:var(--shadow); }
	.main-nav.open .primary-menu{ flex-direction:column; align-items:stretch; padding:8px; gap:2px; }
	.main-nav.open .primary-menu li a{ padding:13px 14px; }
	.main-nav.open .primary-menu .dropdown, .main-nav.open .primary-menu .sub-menu{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; min-width:0; padding:0 0 4px 12px; }
	.main-nav.open .primary-menu .dropdown li a, .main-nav.open .primary-menu .sub-menu li a{ padding:11px 14px; font-size:14.5px; color:var(--muted); }
	.primary-menu .caret{ display:none; }
	.hero-inner{ grid-template-columns:1fr; text-align:center; min-height:auto; padding:34px 0; gap:28px; }
	.hero-badges{ justify-content:center; }
	.hero-visual{ order:-1; max-width:460px; margin:0 auto; }
	.hero-copy h1{ font-size:34px; }
	.promise .wrap{ grid-template-columns:1fr; gap:26px; text-align:center; }
	.promise-lead br{ display:none; }
	.board-row{ grid-template-columns:1fr; gap:40px; }
}
@media (max-width:620px){
	.wrap{ padding:0 16px; }
	.section{ padding:44px 0; }
	.cat-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
	.product-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
	.promise-items{ grid-template-columns:repeat(2,1fr); gap:20px; }
	.foot-cols{ grid-template-columns:1fr 1fr; gap:24px; }
	.foot-brand{ grid-column:1 / -1; }
	.hero-copy h1{ font-size:28px; }
	.hero-badges{ gap:16px; }
	.sec-head h2{ font-size:23px; }
	.notice-body .n-ex{ display:none; }
	.bi-meta{ display:none; }
	.bi-date{ width:74px; font-size:11.5px; }
	.fixed-bar a, .fixed-bar button{ height:56px; font-size:13.5px; gap:6px; flex-direction:column; }
	.fixed-bar .fb-ico{ width:19px; height:19px; }
	body{ padding-bottom:56px; }
	.to-top{ bottom:72px; right:14px; width:42px; height:42px; }
}
@media (max-width:400px){
	.cat-grid, .foot-cols{ grid-template-columns:1fr; }
}

/* 접근성 */
a:focus-visible, button:focus-visible, .btn:focus-visible{ outline:2px solid var(--blue); outline-offset:2px; }
@media (prefers-reduced-motion:reduce){
	*{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}
