/* 루멕스몰 M1 쇼핑 경험(UX 코어) 2026-11-22 — mall.css 뒤에 읽힌다. 흰 바탕·굵은 검정·파란 알약 톤 유지 */

/* ---------- 머리글: 찜 아이콘 · 검색 자동완성 ---------- */
.m-search{position:relative}
.m1-wish-count{background:var(--ink)}
.m1-suggest{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:300;background:#fff;border:1px solid var(--line2);border-radius:20px;box-shadow:var(--sh2);padding:10px 0;max-height:min(70vh,560px);overflow-y:auto;text-align:left}
.m1-sg-sec{padding:6px 0}
.m1-sg-sec+.m1-sg-sec{border-top:1px solid var(--line3)}
.m1-sg-h{display:flex;align-items:center;justify-content:space-between;padding:6px 20px 4px;font-size:12.5px;font-weight:800;color:var(--mute)}
.m1-sg-h button{font-size:12.5px;font-weight:700;color:var(--mute);text-decoration:underline;text-underline-offset:2px}
.m1-sg a,.m1-sg-row{display:flex;align-items:center;gap:12px;padding:8px 20px;font-size:15px;font-weight:600;color:var(--ink2);min-height:40px}
.m1-sg a:hover,.m1-sg a.is-act{background:var(--gray)}
.m1-sg a mark{background:transparent;color:var(--blue2);font-weight:900}
.m1-sg a img{width:40px;height:40px;object-fit:contain;border:1px solid var(--line3);border-radius:10px;background:#fff;flex:none}
.m1-sg a .m1-sg-tx{display:flex;flex-direction:column;min-width:0;line-height:1.35}
.m1-sg a .m1-sg-tx small{font-size:12.5px;font-weight:800;color:var(--ink)}
.m1-sg a .m1-sg-tx span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m1-sg a em{margin-left:auto;font-style:normal;font-size:12.5px;color:var(--mute);font-weight:700;flex:none}
.m1-sg a .m1-sg-kind{flex:none;font-size:11.5px;font-weight:800;color:var(--blue2);background:var(--tint);border-radius:999px;padding:3px 8px}
.m1-sg-recent{display:flex;flex-wrap:wrap;gap:6px;padding:6px 20px 8px}
.m1-sg-recent span{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--line2);border-radius:999px;padding:0 4px 0 12px;height:34px;font-size:14px;font-weight:700}
.m1-sg-recent span a{padding:0;min-height:0;font-size:14px;background:none!important}
.m1-sg-recent span button{width:26px;height:26px;display:grid;place-items:center;color:var(--mute)}
.m1-sg-pop{display:grid;grid-template-columns:1fr 1fr;padding:2px 8px 6px}
.m1-sg-pop a{padding:7px 12px;font-size:14.5px;min-height:36px}
.m1-sg-pop a b{width:20px;color:var(--blue2);font-weight:900;flex:none}
.m1-sg-fix{padding:8px 20px;font-size:13.5px;color:var(--sub);font-weight:600}
.m1-sg-fix b{color:var(--blue2)}
.m1-sg-empty{padding:14px 20px;color:var(--mute);font-size:14px;font-weight:600}
.m1-sg-all{display:block;margin:6px 12px 2px;padding:10px;border-radius:12px;background:var(--gray);text-align:center;font-size:14px;font-weight:800}

/* 전체 화면 검색(모바일 탭) */
.m1-search-sheet{position:fixed;inset:0;z-index:400;background:#fff;display:flex;flex-direction:column}
.m1-search-sheet[hidden]{display:none}
.m1-ss-form{display:flex;align-items:center;gap:6px;padding:10px 10px 10px 6px;border-bottom:1px solid var(--line)}
.m1-ss-form input{flex:1;min-width:0;height:46px;border-radius:999px;background:var(--gray);border:1.5px solid transparent;padding:0 18px;font-size:16px;font-weight:600;outline:0}
.m1-ss-form input:focus{background:#fff;border-color:var(--ink)}
.m1-ss-body{flex:1;overflow-y:auto;padding:8px 0 40px}

/* ---------- 상단 띠(비회원 안내) 한 줄 ---------- */
.m1-gate-short{display:none}
.m-gate-in{min-height:44px;padding-top:6px;padding-bottom:6px}

/* ---------- 메인 첫 화면: 배너 축소 + 내 주문/회원 신청 카드 ---------- */
.m1-top{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;margin-top:20px;align-items:stretch}
.m1-top .m-hero{margin-top:0}
.m1-hero .m-hero-slide{min-height:252px;padding:34px 44px;gap:28px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.m1-hero .m-hero-text h2{font-size:clamp(26px,2.3vw,34px);margin-top:12px}
.m1-hero .m-hero-text p{font-size:15px;line-height:1.65;margin-top:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.m1-hero .m-hero-btns{margin-top:18px}
.m1-hero .m-hero-btns .m-btn-lg{height:46px;font-size:15px;padding:0 22px}
.m1-hero .m-hero-vis{height:184px;gap:10px}
.m1-hero .m-hero-vis-one .m-hero-tile{width:184px;height:184px}
.m1-hero .m-hero-cap{display:none}
.m1-hero .m-hero-dots{left:44px;bottom:16px}
.m-hero-dots button{width:22px;height:22px;background:transparent!important;display:grid;place-items:center}
.m-hero-dots button::after{content:"";width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.4);transition:width .2s}
.m-hero-dots button.is-on{width:30px}
.m-hero-dots button.is-on::after{width:24px;background:#fff}
.m1-statuscard{border:1px solid var(--line);border-radius:var(--r-lg);padding:22px 22px 20px;display:flex;flex-direction:column;gap:14px;background:#fff}
.m1-sc-head{display:flex;align-items:center;justify-content:space-between}
.m1-sc-head b{font-size:18px;font-weight:900;letter-spacing:-.03em}
.m1-sc-head a{display:inline-flex;align-items:center;gap:2px;font-size:13.5px;font-weight:700;color:var(--sub)}
.m1-sc-counts{display:grid;grid-template-columns:repeat(3,1fr);background:var(--gray);border-radius:var(--r-sm)}
.m1-sc-counts a{display:flex;flex-direction:column;align-items:center;padding:14px 4px}
.m1-sc-counts b{font-size:24px;font-weight:900}
.m1-sc-counts span{font-size:12.5px;font-weight:700;color:var(--sub)}
.m1-sc-links{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:auto}
.m1-sc-links a{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;border:1px solid var(--line);border-radius:14px;font-size:13px;font-weight:800}
.m1-sc-links a:hover{border-color:var(--ink)}
.m1-sc-steps{display:grid;gap:10px;counter-reset:s}
.m1-sc-steps li{display:flex;gap:10px;align-items:flex-start;color:var(--sub)}
.m1-sc-steps li b{width:26px;height:26px;border-radius:50%;border:1.5px solid var(--line2);display:grid;place-items:center;font-size:13px;font-weight:900;flex:none;color:var(--mute)}
.m1-sc-steps li span{display:flex;flex-direction:column;font-size:14.5px;font-weight:800;line-height:1.3}
.m1-sc-steps li small{font-size:12.5px;font-weight:600;color:var(--mute)}
.m1-sc-steps li.is-done b{background:var(--ink);border-color:var(--ink);color:#fff}
.m1-sc-steps li.is-done span{color:var(--ink)}
.m1-sc-steps li.is-now b{background:var(--blue);border-color:var(--blue);color:#fff}
.m1-sc-steps li.is-now span{color:var(--ink)}
.m1-sc-btns{display:flex;gap:8px;margin-top:auto}
.m1-sc-btns .m-btn{flex:1;height:44px}
.m1-sc-wait{margin-top:auto;font-size:13.5px;font-weight:700;color:var(--blue2);background:var(--tint);border-radius:12px;padding:10px 12px}
.m-page-home .m-sec-cats{margin-top:24px}
.m-page-home .m-sec-cats .m-sec-head{margin-bottom:12px}
.m-page-home .m-sec-cats .m-sec-head h2{font-size:20px}
.m-page-home .m-cats{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(92px,1fr);overflow-x:auto;scrollbar-width:none;gap:8px}
.m-page-home .m-cats::-webkit-scrollbar{display:none}
.m-page-home .m-cats a{padding:12px 6px 10px;gap:6px;border-radius:var(--r-sm)}
.m-page-home .m-cats-ico{width:46px;height:46px}
.m-page-home .m-cats-ico .m-ico{width:24px;height:24px}
.m-page-home .m-cats-name{font-size:13.5px}
.m1-sec-tight{margin-top:44px}
.m1-sec-first{margin-top:36px}

/* ---------- 상품 카드: 찜 · 배송비 · 바로 담기 ---------- */
.m-card{position:relative;display:flex;flex-direction:column}
.m1-wish{position:absolute;top:8px;right:8px;z-index:2;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.92);border:1px solid var(--line3);display:grid;place-items:center;color:#9aa1ac;transition:transform .15s,color .15s}
.m1-wish:hover{color:var(--ink)}
.m1-wish.is-on{color:var(--red)}
.m1-wish.is-on .m1-heart{fill:currentColor}
.m1-wish.is-pop{transform:scale(1.18)}
.m1-ship{font-size:12.5px;font-weight:700;color:var(--sub);align-self:center;margin-right:2px}
.m1-tag-again{background:var(--tint)!important;color:var(--blue2)!important}
.m1-qa{margin-top:10px;height:38px}
.m1-qa-add{width:100%;height:38px;border-radius:999px;border:1.5px solid var(--ink);display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:800;background:#fff;color:var(--ink)}
.m1-qa-add:hover{background:var(--ink);color:#fff}
.m1-qa-step{display:none;height:38px;border-radius:999px;background:var(--ink);color:#fff;align-items:center;justify-content:space-between;padding:0 4px}
.m1-qa-step button{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#fff}
.m1-qa-step button:hover{background:rgba(255,255,255,.14)}
.m1-qa-step b{font-size:15px;font-weight:900;min-width:28px;text-align:center}
.m1-qa.is-in .m1-qa-add{display:none}
.m1-qa.is-in .m1-qa-step{display:flex}
.m1-qa.is-busy{opacity:.6;pointer-events:none}
.m1-grid{display:grid;gap:40px 20px;grid-template-columns:repeat(5,minmax(0,1fr))}

/* ---------- 목록: 카테고리 칩 · 필터 사이드바 · 정렬 ---------- */
.m1-catchips a em,.m-subchips a em{font-style:normal;font-size:12px;font-weight:700;opacity:.6;margin-left:2px}
.m1-side{max-height:none;overflow:visible}
.m1-fbox{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--line3)}
.m1-fbox h3{display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:900;margin-bottom:10px}
.m1-fclear{font-size:12.5px;font-weight:700;color:var(--mute);text-decoration:underline}
.m1-flist{display:grid;gap:2px}
.m1-flist a{display:flex;align-items:center;gap:10px;min-height:34px;padding:4px 6px;border-radius:10px;font-size:14.5px;font-weight:600;color:var(--ink2)}
.m1-flist a:hover{background:var(--gray)}
.m1-flist a span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m1-flist a em{font-style:normal;font-size:12.5px;color:var(--mute);font-weight:700}
.m1-flist a.is-on{color:var(--ink);font-weight:800}
.m1-fchk{width:18px;height:18px;border-radius:5px;border:1.5px solid var(--line2);display:grid;place-items:center;flex:none;color:#fff;background:#fff}
.m1-fchk.is-on{background:var(--ink);border-color:var(--ink)}
.m1-fmore summary{cursor:pointer;list-style:none;font-size:13.5px;font-weight:800;color:var(--blue2);padding:6px}
.m1-fmore summary::-webkit-details-marker{display:none}
.m1-frange{display:flex;align-items:center;gap:6px;margin-top:10px}
.m1-frange label{flex:1;min-width:0}
.m1-frange input{width:100%;height:36px;border:1px solid var(--line2);border-radius:10px;padding:0 8px;font-size:14px}
.m1-frange .m-btn{height:36px;padding:0 10px;flex:none}
.m-activef .m1-clearall{background:transparent!important;border:0!important;text-decoration:underline;text-underline-offset:3px;color:var(--sub)!important}
.m1-searchnote{margin-top:10px;padding:10px 14px;border-radius:12px;background:var(--tint);font-size:14.5px;font-weight:600;color:var(--ink2)}
.m1-searchnote b{color:var(--blue2)}
.m1-searchnote a{margin-left:6px;text-decoration:underline;text-underline-offset:3px;color:var(--sub)}
.m1-poptags{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:18px;max-width:560px}
.m1-poptags b{width:100%;font-size:13.5px;color:var(--sub);margin-bottom:2px}
.m1-poptags a{height:34px;display:inline-flex;align-items:center;padding:0 14px;border:1px solid var(--line2);border-radius:999px;font-size:14px;font-weight:700}
.m1-poptags a:hover{border-color:var(--ink)}

/* ---------- 상세: 갤러리 ---------- */
.m1-gal-single .m-gal-main{max-width:600px;margin:0 auto}
.m1-gal-multi{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;align-items:start}
.m1-thumbs{flex-direction:column;margin-top:0;overflow-x:visible;overflow-y:auto;max-height:640px;gap:8px;scrollbar-width:none}
.m1-thumbs button{width:76px;height:76px}
.m1-gal-stage{position:relative;aspect-ratio:1/1;border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;background:#fff}
.m1-gal-track{display:flex;width:100%;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none}
.m1-gal-track::-webkit-scrollbar{display:none}
.m1-gal-slide{flex:0 0 100%;height:100%;scroll-snap-align:center;cursor:zoom-in;background:#fff}
.m1-gal-slide img{width:100%;height:100%;object-fit:contain;padding:5%}
.m1-gal-stage>.m-badge{position:absolute;left:16px;top:16px}
.m1-gal-count{position:absolute;right:14px;bottom:14px;height:28px;padding:0 12px;border-radius:999px;background:rgba(17,17,17,.72);color:#fff;font-size:13px;font-weight:800;display:inline-flex;align-items:center;letter-spacing:.02em}
.m1-gal-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.95);border:1px solid var(--line);display:grid;place-items:center;opacity:0;transition:opacity .15s}
.m1-gal-stage:hover .m1-gal-nav,.m1-gal-nav:focus-visible{opacity:1}
.m1-gal-prev{left:12px}.m1-gal-next{right:12px}
.m1-gal-dots{display:none}

/* 상세: 정보 */
.m1-info-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.m1-wish-lg{position:static;width:44px;height:44px;border:1px solid var(--line2)}
.m1-code{display:flex;align-items:center;gap:8px}
.m1-code b{color:var(--ink2);font-weight:800}
.m1-copy{height:24px;padding:0 9px;border:1px solid var(--line2);border-radius:999px;font-size:12px;font-weight:700;color:var(--sub)}
.m1-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.m1-quick button{height:34px;padding:0 14px;border:1px solid var(--line2);border-radius:999px;font-size:13.5px;font-weight:800;color:var(--ink2);background:#fff}
.m1-quick button:hover,.m1-quick button.is-on{border-color:var(--ink);color:var(--ink)}
.m1-total{display:flex;align-items:baseline;justify-content:space-between;margin-top:14px;padding-top:14px;border-top:1px dashed var(--line2)}
.m1-total span{font-size:14.5px;font-weight:700;color:var(--sub)}
.m1-total b{font-size:24px;font-weight:900;letter-spacing:-.03em}
.m1-incart{margin-top:8px;font-size:13.5px;font-weight:700;color:var(--blue2);display:flex;align-items:center;gap:4px}
.m1-quote-link{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-size:14px;font-weight:700;color:var(--sub);text-decoration:underline;text-underline-offset:3px}
.m1-notice-h{font-size:17px;font-weight:900;margin:36px 0 12px;display:flex;align-items:baseline;gap:8px}
.m1-notice-h small{font-size:13px;font-weight:800;color:var(--blue2);background:var(--tint);padding:3px 10px;border-radius:999px}
.m1-notice th{width:220px}
.m1-sr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.m1-sr-col{border:1px solid var(--line);border-radius:var(--r-sm);padding:20px}
.m1-sr-col h3{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:900;margin-bottom:12px}
.m1-sr-col dl{display:grid;gap:12px}
.m1-sr-col dt{font-size:13px;font-weight:800;color:var(--sub)}
.m1-sr-col dd{font-size:14.5px;font-weight:700;color:var(--ink);line-height:1.55;margin-top:2px}
.m1-sr-col dd small{display:block;font-size:13px;font-weight:500;color:var(--sub);margin-top:2px}
.m1-sr-more{display:inline-flex;align-items:center;gap:2px;margin-top:14px;font-size:13.5px;font-weight:800;color:var(--blue2)}
.m1-buybar .m1-wish-bar{position:static;flex:none;width:52px;height:52px;border-radius:14px;border:1px solid var(--line2)}
.m1-404 .m-btn-row{justify-content:center;margin-top:14px}

/* ---------- 장바구니 · 주문 ---------- */
.m1-cart-note{display:flex;gap:8px;align-items:flex-start;padding:12px 14px;margin:0 0 6px;border-radius:12px;background:var(--gray);font-size:14px;font-weight:600;color:var(--ink2)}
.m1-cart-note .m-ico{flex:none;margin-top:1px}
.m1-cart-acts{display:flex;align-items:center;gap:12px;margin-top:6px}
.m1-cart-acts .m-link-btn{display:inline-flex;align-items:center;gap:4px;font-size:13px}
.m1-code-sm{font-size:12px;font-weight:700;color:var(--mute)}
.m1-cart-badhead{display:flex;align-items:center;justify-content:space-between;margin:28px 0 4px;padding-bottom:10px;border-bottom:2px solid var(--line2);font-size:15px}
.m1-cart-bad .m-cart-row{opacity:.85}
.m1-paynote{display:flex;gap:10px;align-items:flex-start;margin:14px 0;padding:12px 14px;border:1px solid var(--line);border-radius:12px}
.m1-paynote div{display:flex;flex-direction:column;gap:2px}
.m1-paynote b{font-size:14px;font-weight:900}
.m1-paynote span{font-size:13px;font-weight:600;color:var(--sub);line-height:1.55}
.m1-quote-btn{margin-top:8px}
.m1-progress time{display:block;font-size:11.5px;font-weight:700;color:var(--mute);margin-top:2px}
.m1-nextstep{display:flex;align-items:flex-start;gap:6px;margin-top:14px;padding:10px 12px;border-radius:12px;background:var(--tint);font-size:14px;font-weight:700;color:var(--ink2)}
.m1-nextstep .m-ico{color:var(--blue2);flex:none;margin-top:2px}
.m1-minibar{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:0 20px 14px}
.m1-minibar i{height:4px;border-radius:4px;background:var(--line)}
.m1-minibar i.is-on{background:var(--blue)}
.m1-reorder{margin-left:auto}
.m-ocard-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.m1-cnt{font-style:normal;color:var(--blue2);font-weight:900;margin-left:4px}
.m1-wish-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 20px;font-size:14px;font-weight:600;color:var(--sub)}
.m1-wish-tools b{color:var(--ink)}

/* ---------- 가입: 사업자 정보(선택) · 수집 고지 ---------- */
.m1-bizopt{border:1px solid var(--line);border-radius:var(--r-sm);padding:14px 16px;margin-top:4px}
.m1-bizopt.is-on{border-color:var(--ink)}
.m1-bizopt-head small{font-size:12.5px;color:var(--mute);font-weight:600}
.m1-bizfields{margin-top:12px;grid-template-columns:1fr 1fr}
.m1-bizfields select{width:100%;height:48px;border:1px solid var(--line2);border-radius:12px;padding:0 12px;font-size:15px;background:#fff}
.m1-consent{margin:-2px 0 6px;font-size:13px;color:var(--sub)}
.m1-consent summary{cursor:pointer;font-weight:700;padding:4px 0}
.m1-consent table{width:100%;border-collapse:collapse;margin-top:6px}
.m1-consent th,.m1-consent td{border:1px solid var(--line);padding:7px 9px;text-align:left;vertical-align:top;line-height:1.5}
.m1-consent th{width:84px;background:var(--gray);font-weight:800;color:var(--ink2)}
.m-page-join select[name=biz_type]{width:100%;height:48px;border:1px solid var(--line2);border-radius:12px;padding:0 12px;font-size:15px;background:#fff}

/* ---------- 약관·정책 문서 ---------- */
.m1-legal-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:-6px 0 22px}
.m1-legal-tabs a{height:38px;display:inline-flex;align-items:center;padding:0 16px;border:1px solid var(--line2);border-radius:999px;font-size:14.5px;font-weight:800;color:var(--ink2)}
.m1-legal-tabs a.is-on{background:var(--ink);border-color:var(--ink);color:#fff}
.m-legal-doc{font-size:15px;line-height:1.8;color:var(--ink2)}
.m-legal-doc h2{font-size:18px;font-weight:900;color:var(--ink);margin:36px 0 10px;scroll-margin-top:calc(var(--headh) + 16px)}
.m-legal-doc h3{font-size:16px;font-weight:800;margin:20px 0 6px}
.m-legal-doc p{margin:8px 0}
.m-legal-doc ol,.m-legal-doc ul{padding-left:22px;margin:6px 0}
.m-legal-doc ol{list-style:decimal}.m-legal-doc ul{list-style:disc}
.m-legal-doc li{margin:4px 0}
.m-legal-doc table{width:100%;border-collapse:collapse;margin:10px 0;font-size:14px}
.m-legal-doc th,.m-legal-doc td{border:1px solid var(--line);padding:9px 10px;text-align:left;vertical-align:top}
.m-legal-doc th{background:var(--gray);font-weight:800;color:var(--ink)}
.m-legal-toc{border:1px solid var(--line);border-radius:var(--r-sm);padding:16px 20px;margin-bottom:10px;background:#fafbfc}
.m-legal-toc ol{columns:2;column-gap:28px;list-style:none;padding:0;margin:0}
.m-legal-toc li{margin:3px 0;break-inside:avoid}
.m-legal-toc a{font-size:14px;font-weight:700;color:var(--ink2)}
.m-legal-toc a:hover{color:var(--blue2)}
.m-legal-eff{margin-top:28px!important;font-weight:800;color:var(--ink)}
.m1-legal-print{margin-top:20px}

/* ---------- 푸터 법정 표시 ---------- */
.m-foot-legal{display:none}
.m1-foot-tel{font-size:22px;font-weight:900;letter-spacing:-.02em;color:var(--ink)}
.m1-foot-legal{margin-top:36px;padding-top:22px;border-top:1px solid var(--line3);font-size:13px;color:var(--sub);line-height:1.8}
.m1-foot-links{display:flex;flex-wrap:wrap;gap:4px 20px;margin-bottom:12px}
.m1-foot-links a{font-size:14px;font-weight:700;color:var(--ink2);padding:4px 0}
.m1-foot-links a b{font-weight:900;color:var(--ink)}
.m1-foot-links a:hover{color:var(--blue2)}
.m1-foot-biz{display:flex;flex-wrap:wrap;gap:0 14px}
.m1-foot-biz b{color:var(--ink);font-weight:900;margin-right:4px}
.m1-foot-biz em{font-style:normal;color:var(--mute);margin-right:5px}
.m1-foot-copy{color:var(--mute);margin-top:6px}

/* ---------- 모바일 하단 탭 · 최근 본 레일 ---------- */
.m1-tabbar{display:none}
.m1-tab-badge{position:absolute;top:4px;left:calc(50% + 6px);min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--red);color:#fff;font-size:10.5px;font-weight:800;display:grid;place-items:center;font-style:normal}
.m1-tab-badge[hidden]{display:none}
.m1-rail{position:fixed;z-index:90;top:236px;right:calc((100vw - var(--wrap)) / 2 - 104px);width:84px;border:1px solid var(--line);border-radius:18px;background:#fff;padding:12px 10px;display:flex;flex-direction:column;align-items:center;gap:8px;box-shadow:var(--sh1)}
.m1-rail[hidden]{display:none}
.m1-rail>b{font-size:12.5px;font-weight:900}
.m1-rail-list{display:flex;flex-direction:column;gap:6px}
.m1-rail-list a{display:block;width:62px;height:62px;border:1px solid var(--line3);border-radius:10px;overflow:hidden;background:#fff}
.m1-rail-list img{width:100%;height:100%;object-fit:contain;padding:4px}
.m1-rail-more{font-size:12px;font-weight:700;color:var(--sub);text-decoration:underline}
.m1-rail .m1-totop{width:38px;height:38px;border-radius:50%;border:1px solid var(--line2);display:grid;place-items:center;margin-top:2px}
.m1-rail .m1-totop .m-ico{transform:rotate(-90deg)}
@media (max-width:1559px){.m1-rail{display:none!important}}

/* ---------- 반응형 ---------- */
@media (max-width:1280px){
  .m1-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .m1-top{grid-template-columns:minmax(0,1fr) 290px}
}
@media (max-width:1100px){
  .m1-hero .m-hero-vis{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;height:auto;max-width:420px}
  .m1-hero .m-hero-tile{aspect-ratio:1/1}
  .m1-hero .m-hero-tile-0{grid-row:auto}
  .m1-hero .m-hero-slide{grid-template-columns:minmax(0,1fr)}
  .m1-sr{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:960px){
  .m1-top{grid-template-columns:minmax(0,1fr)}
  .m1-statuscard{flex-direction:column}
  .m1-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .m1-gal-multi{grid-template-columns:minmax(0,1fr)}
  .m1-thumbs{display:none}
  .m1-gal-dots{display:flex;position:absolute;left:0;right:0;bottom:16px;justify-content:center;gap:6px;pointer-events:none}
  .m1-gal-dots i{width:7px;height:7px;border-radius:50%;background:rgba(17,17,17,.2)}
  .m1-gal-dots i.is-on{background:var(--ink);width:18px;border-radius:999px}
  .m1-gal-nav{display:none}
}
@media (max-width:760px){
  .m1-tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:140;background:rgba(255,255,255,.98);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);backdrop-filter:blur(8px)}
  .m1-tabbar>a,.m1-tabbar>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:58px;font-size:11.5px;font-weight:700;color:var(--sub)}
  .m1-tabbar>.is-on{color:var(--ink)}
  .m1-tabbar>.is-on .m-ico{stroke-width:2.3}
  .m-page-view .m1-tabbar,.m-page-cart .m1-tabbar,.m-page-checkout .m1-tabbar,.m-page-co .m1-tabbar{display:none}
  .m-main{padding-bottom:84px}
  .m-page-view .m-main,.m-page-cart .m-main{padding-bottom:110px}
  .m-foot{padding-bottom:96px}
  .m-toast{bottom:76px}
  .m-page-view .m-toast,.m-page-cart .m-toast{bottom:88px}
}
@media (max-width:640px){
  .m-hl-wish{display:none}
  .m1-suggest{left:-4px;right:-4px;border-radius:16px}
  .m-gate-in{flex-wrap:nowrap;min-height:40px;padding-top:4px;padding-bottom:4px;font-size:13px}
  .m-gate-txt{flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .m-gate-act{width:auto;padding-left:0}
  .m-gate-ico{display:none}
  .m1-gate-long,.m1-gate-join{display:none}
  .m1-gate-short{display:inline}
  .m-gate-btn{height:30px;padding:0 14px}
  .m-crumbs{display:none}
  .m1-top{margin-top:10px;gap:10px}
  .m1-hero .m-hero-slide{padding:24px 20px 46px;min-height:0}
  .m1-hero .m-hero-text h2{font-size:23px}
  .m1-hero .m-hero-text p{font-size:14px}
  .m1-hero .m-hero-dots{left:16px;bottom:10px}
  .m1-statuscard{padding:14px 16px;border-radius:var(--r-md);gap:10px}
  .m-body .m1-statuscard:has(.m1-sc-steps){display:none}
  .m1-sc-links{display:none}
  .m-page-home .m-sec-cats{margin-top:18px}
  .m-page-home .m-cats{grid-auto-columns:76px;margin-right:calc(var(--pad) * -1)}
  .m-page-home .m-cats a{padding:8px 2px}
  .m1-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 10px}
  .m1-qa{height:36px;margin-top:8px}
  .m1-qa-add{height:36px;font-size:13.5px}
  .m1-qa-step{height:36px}
  .m1-wish{width:32px;height:32px;top:6px;right:6px}
  .m1-ship{font-size:12px}
  .m1-sorts{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:6px;margin-right:calc(var(--pad) * -1)}
  .m1-sorts::-webkit-scrollbar{display:none}
  .m1-sorts a{flex:none;height:36px;display:inline-flex;align-items:center;padding:0 14px!important;border:1px solid var(--line2);border-radius:999px;font-size:14px}
  .m1-sorts a.is-on{background:var(--ink);border-color:var(--ink);color:#fff}
  .m-filter-btn{height:36px}
  .m-pager a,.m-pager strong,.m-pager span{min-width:40px;height:42px}
  .m-foot-col a{display:flex;align-items:center;min-height:40px}
  .m1-foot-links a{min-height:40px;display:inline-flex;align-items:center}
  .m1-foot-biz{display:block}
  .m1-foot-biz span{display:block}
  .m1-gal-stage{border-radius:0;border-left:0;border-right:0}
  .m1-gal-multi{margin:0 calc(var(--pad) * -1)}
  .m1-gal-single .m-gal-main{max-width:none}
  .m1-notice th{width:120px}
  .m1-sr-col{padding:16px}
  .m1-bizfields{grid-template-columns:minmax(0,1fr)}
  .m-legal-toc ol{columns:1}
  .m1-reorder{margin-left:0}
  .m-tabs.m1-tabs{overflow-x:auto;scrollbar-width:none}
  .m-tabs.m1-tabs a{flex:none;padding:0 14px}
}

/* ---------- 견적서(인쇄) ---------- */
.m1-quote-body{margin:0;background:#eef0f3;font-family:'Pretendard Variable','Pretendard','Apple SD Gothic Neo','Malgun Gothic',sans-serif;color:#111}
.m1-quote{max-width:820px;margin:24px auto;background:#fff;padding:44px 48px;border-radius:16px}
.m1-q-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:18px}
.m1-q-actions button,.m1-q-actions a{height:38px;padding:0 16px;border-radius:999px;border:1px solid #d9dde4;background:#fff;font-size:14px;font-weight:800;display:inline-flex;align-items:center;cursor:pointer;color:#111;text-decoration:none}
.m1-q-actions button{background:#1a8cff;border-color:#1a8cff;color:#fff}
.m1-q-head{text-align:center;border-bottom:3px solid #111;padding-bottom:16px}
.m1-q-head h1{font-size:30px;font-weight:900;letter-spacing:.4em;margin:0}
.m1-q-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 18px;margin-top:10px;font-size:13px;color:#5f6672}
.m1-q-parties{display:grid;grid-template-columns:1fr 1.2fr;gap:24px;margin-top:22px}
.m1-q-parties h2{font-size:14px;font-weight:900;margin:0 0 8px;color:#5f6672}
.m1-q-parties p{margin:4px 0;font-size:14px}
.m1-q-to b{font-size:20px}
.m1-q-parties table,.m1-q-items{width:100%;border-collapse:collapse;font-size:13.5px}
.m1-q-parties th,.m1-q-parties td,.m1-q-items th,.m1-q-items td{border:1px solid #d9dde4;padding:7px 9px;text-align:left}
.m1-q-parties th,.m1-q-items thead th,.m1-q-items tfoot th{background:#f5f6f8;font-weight:800;white-space:nowrap}
.m1-q-sum{margin:22px 0 10px;font-size:16px;font-weight:800}
.m1-q-sum b{font-size:24px;font-weight:900;margin-left:8px}
.m1-q-items td.n{text-align:right;white-space:nowrap}
.m1-q-name{min-width:220px}
.m1-q-grand th,.m1-q-grand td{font-size:16px;font-weight:900}
.m1-q-empty{text-align:center!important;color:#8a909b;padding:28px!important}
.m1-q-notes{margin:18px 0 0;padding-left:18px;font-size:13px;color:#5f6672;line-height:1.8}
@media print{
  .m1-quote-body{background:#fff}
  .m1-quote{margin:0;padding:0;max-width:none;border-radius:0}
  .m1-q-actions{display:none}
  .m-head,.m-foot,.m1-tabbar,.m-gate,.m1-legal-tabs,.m1-legal-print,.m1-rail{display:none!important}
}

/* 메인 첫 화면 압축 (PC 900px 안에 상품 줄이 보이게) */
.m1-hero .m-hero-slide{min-height:232px;padding:28px 40px}
.m1-hero .m-hero-vis{height:168px}
.m1-hero .m-hero-vis-one .m-hero-tile{width:168px;height:168px}
.m1-statuscard{padding:18px 20px 16px;gap:10px}
.m1-sc-steps{gap:6px}
.m-page-home .m-sec-cats .m-sec-head{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.m-page-home .m-sec-cats{margin-top:14px;position:relative}
.m-page-home .m-cats a{padding:10px 6px 8px;gap:4px}
.m-page-home .m-cats-ico{width:40px;height:40px;background:transparent}
.m-page-home .m-cats a:hover .m-cats-ico{background:transparent;color:var(--blue2)}
.m-page-home .m-cats-cnt{display:none}
.m1-sec-first,.m-page-home .m1-sec-tight:first-of-type{margin-top:26px}
.m1-sec-first .m-sec-head p{display:none}
.m1-sec-first .m-sec-head,.m-page-home .m1-sec-tight .m-sec-head{margin-bottom:14px}
.m1-sec-first .m-sec-head h2,.m-page-home .m1-sec-tight .m-sec-head h2{font-size:24px}
@media (max-width:640px){
  .m-page-home .m-cats-ico{width:44px;height:44px;background:var(--gray)}
}
.m1-hero .m-hero-dots{left:auto;right:28px;bottom:12px}
@media (max-width:640px){
  .m1-hero .m-hero-slide{padding:20px 18px 34px}
  .m1-hero .m-hero-text h2{font-size:21px;margin-top:8px}
  .m1-hero .m-hero-text p{display:none}
  .m1-hero .m-hero-btns{margin-top:14px}
  .m1-hero .m-hero-btns .m-btn-lg{height:40px;font-size:14px;padding:0 16px}
  .m1-hero .m-hero-dots{right:16px;bottom:10px}
  .m1-sc-head b{font-size:16px}
  .m1-sc-counts a{padding:8px 4px}
  .m1-sc-counts b{font-size:20px}
  .m-page-home .m1-sec-tight:first-of-type,.m1-sec-first{margin-top:22px}
}
.m1-flist a span.m1-fchk{flex:0 0 18px;width:18px;overflow:visible}
/* 고정 머리글 실제 높이(--m1-headh, m1.js 가 잼) 기준으로 탭·패널 고정 위치 */
.m-tabs.m1-tabs{top:var(--m1-headh,var(--headh))}
.m-page-view .m-info{top:calc(var(--m1-headh,var(--headh)) + 16px)}
.m1-side{top:calc(var(--m1-headh,var(--headh)) + 16px)}
.m-legal-doc h2{scroll-margin-top:calc(var(--m1-headh,var(--headh)) + 16px)}
/* 터치 영역 32px 이상 (M-2) · 메인 비회원 PC 는 오른쪽 카드에 로그인 버튼이 있어 띠 버튼 숨김 (H-2) */
@media (max-width:640px){
  .m-head-row .m-logo{min-height:40px}
  .m-gate-btn{height:34px}
  .m-gate-in{min-height:44px}
  .m-hero-dots button{width:32px;height:32px}
  .m-hero-dots button.is-on{width:40px}
}
@media (min-width:641px){
  .m-page-home .m-gate-act{display:none}
}
@media (max-width:640px){
  .m1-hero .m-hero-slide{gap:14px}
  .m1-hero .m-hero-vis{max-width:none;gap:8px}
  .m1-hero .m-hero-tile img,.m1-hero .m-hero-tile-0 img{padding:8%}
}
/* 모바일 승인 회원: 배너 사진 줄을 접고 주문 현황을 한 줄로 → 자주 주문한 상품이 첫 화면에 */
@media (max-width:640px){
  .m1-top.is-member .m-hero-vis{display:none}
  .m1-top.is-member .m1-sc-head{display:none}
  .m1-top.is-member .m1-statuscard{padding:6px 8px}
}
@media (max-width:1100px){.m1-hero .m-hero-vis{height:auto}}
@media (max-width:640px){.m1-hero .m-hero-slide{min-height:0}}
