/* =========================================================
   ELLEUT 리뉴얼 — elleut3 시안 이식본 (elleut3.style.css)
   원본: /home/elleut/public_html/elleut3/css/style.css
   변경점: 서버 Tailwind 유틸리티와 충돌하는 클래스 4종에 el- 접두사를 붙였다.
     .container -> .el-container   .block -> .el-block
     .grid      -> .el-grid        .table -> .el-table
   그 외 규칙은 시안 원본 그대로다. 수정 시 원본과 함께 관리할 것.
   ========================================================= */
/* =========================================================
   ELLEUT 메인 페이지 — 오픈마켓 스타일 (밀집 그리드 · 흰 카드 · 회색 바탕)
   ========================================================= */
:root {
  --primary: #FF4D2E;        /* 검색·CTA·할인율 */
  --primary-d: #E23A1C;
  --primary-bg: #FFF1EE;
  --blue: #2563EB;           /* 무료배송 배지 */
  --green: #059669;          /* 쿠폰 배지 */
  --gold: #C9A24A;
  --ink: #111111;
  --ink-2: #333333;
  --grey-4: #888888;
  --grey-5: #555555;
  --line: #E5E7EB;
  --line-2: #D9DBE0;
  --bg: #F5F6F8;
  --font: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --container: 1240px;
  --gutter: 16px;
  --radius: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--bg); word-break: keep-all; overflow-wrap: anywhere; letter-spacing: -0.01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.el-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 상단 유틸 ---------- */
.util { display: none; background: #fff; border-bottom: 1px solid var(--line); }
.util__inner { display: flex; justify-content: flex-end; gap: 18px; height: 32px; align-items: center; font-size: 12px; color: var(--grey-5); }
.util a:hover { color: var(--ink); text-decoration: underline; }
.util a.is-strong { color: var(--primary); font-weight: 700; }

/* ---------- 헤더 ---------- */
.hdr { background: #fff; }
.hdr__inner { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.brand__mark { width: 28px; height: 28px; object-fit: contain; }
.brand__name { font-weight: 900; font-size: 24px; letter-spacing: .1em; color: var(--ink); line-height: 1; }
.search { flex: 1; display: flex; align-items: center; height: 44px; border: 2px solid var(--primary); border-radius: 24px; overflow: hidden; background: #fff; min-width: 0; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0 16px; font: inherit; font-size: 14px; outline: none; }
.search button { flex: none; width: 52px; height: 100%; background: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.search button svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.hdr__tools { display: none; align-items: center; gap: 4px; flex: none; margin-left: auto; }
.tool { position: relative; width: 56px; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--grey-5); padding: 4px 0; border-radius: 8px; }
.tool:hover { background: var(--bg); color: var(--ink); }
.tool svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool__badge { position: absolute; top: 0; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-btn svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn--menu { display: inline-flex; }

/* ---------- GNB ---------- */
.gnb { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-2); position: sticky; top: 0; z-index: 40; }
.gnb__inner { display: flex; align-items: center; gap: 4px; height: 46px; overflow-x: auto; scrollbar-width: none; }
.gnb__inner::-webkit-scrollbar { display: none; }
.gnb__all { position: relative; flex: none; }
.gnb__all-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px 0 2px; font-weight: 800; font-size: 15px; white-space: nowrap; }
.gnb__all-btn svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; }
.gnb__link { flex: none; padding: 0 12px; height: 46px; display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap; border-bottom: 2px solid transparent; }
.gnb__link:hover { color: var(--primary); }
.gnb__link--hot { color: var(--primary); font-weight: 800; }
.gnb__link.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.gnb__right { margin-left: auto; display: none; align-items: center; gap: 14px; font-size: 13px; color: var(--grey-5); white-space: nowrap; }
.mega { position: absolute; left: 0; top: 46px; width: 760px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line-2); box-shadow: 0 14px 34px rgba(0, 0, 0, .12); border-radius: 0 0 var(--radius) var(--radius); display: none; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 18px 20px 22px; z-index: 60; }
.mega.is-open { display: grid; }
.mega__col h4 { font-size: 14px; font-weight: 800; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega__col a { display: block; font-size: 13px; color: var(--grey-5); padding: 4px 0; }
.mega__col a:hover { color: var(--primary); text-decoration: underline; }
.mega__col { padding: 6px 12px 12px 0; }

/* 모바일 드로어 */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(84vw, 340px); background: #fff; overflow: auto; animation: slideIn .3s var(--ease); }
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: none; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--primary); color: #fff; font-weight: 800; }
.drawer__head .icon-btn svg { stroke: #fff; }
.drawer__auth { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 8px solid var(--bg); }
.drawer__group { padding: 10px 16px 6px; }
.drawer__group h4 { font-size: 13px; font-weight: 800; color: var(--grey-4); margin: 8px 0 4px; }
.drawer__group a { display: block; padding: 10px 0; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--line); }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 6px; font-weight: 700; font-size: 14px; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-d); }
.btn--outline { border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 공통 카드 섹션 ---------- */
.el-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.section { padding: 14px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px 18px 12px; }
.sec-head__title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sec-head__title .hot { color: var(--primary); }
.sec-head__sub { font-size: 13px; color: var(--grey-4); margin-top: 2px; }
.sec-head__more { flex: none; font-size: 13px; color: var(--grey-5); display: inline-flex; align-items: center; gap: 2px; }
.sec-head__more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sec-head__more:hover { color: var(--ink); }
.sec-body { padding: 0 18px 20px; }

/* ---------- 상단: 배너 + 혜택 박스 ---------- */
.top { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.banner { position: relative; overflow: hidden; border-radius: var(--radius); background: #F1F1F1; display: flex; flex-direction: column; }
.banner__track { display: flex; flex: 1; min-height: 0; transition: transform .5s var(--ease); }
.slide { flex: 0 0 100%; min-height: 220px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8px; padding: 22px 22px 36px; }
.slide__label { display: inline-block; padding: 3px 8px; border-radius: 4px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 11px; font-weight: 800; }
.slide__title { margin-top: 8px; font-size: clamp(20px, 3.4vw, 32px); font-weight: 900; line-height: 1.2; letter-spacing: -0.03em; }
.slide__desc { margin-top: 6px; font-size: 13px; color: rgba(0, 0, 0, .65); }
.slide__cta { display: inline-block; margin-top: 12px; padding: 8px 14px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.slide__img { width: min(100%, 240px); margin: 0 auto; mix-blend-mode: multiply; }
.slide--a { background: #FFE8E1; }
.slide--b { background: #E7EEF9; }
.slide--c { background: #F1EAFB; }
.banner__nav { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; }
.banner__count { padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; font-weight: 700; }
.banner__arrow { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 1px 6px rgba(0, 0, 0, .15); display: inline-flex; align-items: center; justify-content: center; }
.banner__arrow svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.side { display: grid; gap: 12px; }
.benefit { padding: 16px; }
.benefit__title { font-size: 15px; font-weight: 800; }
.benefit__desc { font-size: 12px; color: var(--grey-4); margin-top: 2px; }
.benefit__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.coupons { margin-top: 12px; display: grid; gap: 6px; }
.coupon-mini { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border: 1px dashed var(--primary); border-radius: 6px; background: var(--primary-bg); font-size: 12px; }
.coupon-mini b { color: var(--primary); font-size: 14px; }
.notice-mini { padding: 12px 16px; }
.notice-mini h3 { font-size: 13px; font-weight: 800; margin-bottom: 6px; display: flex; justify-content: space-between; }
.notice-mini h3 a { font-weight: 500; color: var(--grey-4); font-size: 12px; }
.notice-mini li a { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 4px 0; color: var(--grey-5); }
.notice-mini li a span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-mini li a:hover { color: var(--ink); }

/* ---------- 카테고리 숏컷 ---------- */
.quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px 4px; padding: 16px 10px; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.quick__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--bg); display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
.quick a:hover .quick__icon { background: var(--primary-bg); }
.quick__icon svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 타임딜 ---------- */
.timer { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.timer strong { font-variant-numeric: tabular-nums; font-size: 15px; color: #FFD166; letter-spacing: .04em; }
.deals { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.deals::-webkit-scrollbar { display: none; }
.deal { flex: 0 0 200px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.deal__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); }
.deal__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.deal__flag { position: absolute; left: 8px; top: 8px; padding: 3px 7px; border-radius: 4px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; }
.deal__body { padding: 10px 12px 12px; }
.deal__name { font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.deal__price { margin-top: 6px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.deal__price .off { color: var(--primary); font-weight: 900; font-size: 16px; }
.deal__price strong { font-size: 16px; font-weight: 800; }
.deal__price s { font-size: 12px; color: var(--grey-4); }
.deal__bar { margin-top: 8px; height: 6px; border-radius: 3px; background: var(--bg); overflow: hidden; }
.deal__bar i { display: block; height: 100%; background: var(--primary); }
.deal__left { margin-top: 4px; font-size: 11px; color: var(--primary); font-weight: 700; }

/* ---------- 상품 카드 (오픈마켓) ---------- */
.el-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; display: block; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform .4s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__rank { position: absolute; left: 0; top: 0; width: 30px; height: 30px; background: var(--ink); color: #fff; font-weight: 900; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius) 0 6px 0; }
.card__rank.is-top { background: var(--primary); }
.wish { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 6px rgba(0, 0, 0, .12); display: inline-flex; align-items: center; justify-content: center; }
.wish svg { width: 17px; height: 17px; fill: none; stroke: var(--grey-5); stroke-width: 2; }
.wish.is-on svg { fill: var(--primary); stroke: var(--primary); }
.card__body { padding: 8px 2px 0; }
.card__brand { font-size: 12px; font-weight: 800; color: var(--ink); }
.card__name { font-size: 13px; color: var(--ink-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { margin-top: 6px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card__price .off { color: var(--primary); font-weight: 900; font-size: 15px; }
.card__price strong { font-size: 15px; font-weight: 800; }
.card__price s { font-size: 12px; color: var(--grey-4); }
.card__rating { margin-top: 4px; font-size: 12px; color: var(--grey-5); }
.card__rating b { color: #F59E0B; font-weight: 800; }
.card__badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.bd { display: inline-block; padding: 2px 6px; border-radius: 3px; border: 1px solid var(--line-2); font-size: 11px; font-weight: 600; color: var(--grey-5); white-space: nowrap; }
.bd--free { border-color: #BFD3FF; color: var(--blue); background: #EEF4FF; }
.bd--today { border-color: #FFC9BD; color: var(--primary); background: var(--primary-bg); }
.bd--coupon { border-color: #B7E4D0; color: var(--green); background: #EDFAF4; }

/* 베스트 탭 */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 18px 12px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; font-weight: 600; min-height: 34px; }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }


/* ---------- 브랜드관 ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.brand-tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 96px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
.brand-tile:hover { border-color: var(--ink); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); }
.brand-tile__name { font-weight: 900; font-size: 15px; letter-spacing: .06em; }
.brand-tile__meta { font-size: 12px; color: var(--grey-4); }
.brand-tile__meta b { color: var(--primary); font-weight: 800; }

/* ---------- 쿠폰존 ---------- */
.coupons-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.coupon { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #fff; }
.coupon__amt { flex: none; width: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-weight: 900; font-size: 22px; line-height: 1; }
.coupon__amt small { font-size: 11px; font-weight: 600; margin-top: 4px; opacity: .9; }
.coupon__body { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.coupon__title { font-size: 14px; font-weight: 800; }
.coupon__cond { font-size: 12px; color: var(--grey-4); }
.coupon__btn { flex: none; align-self: center; margin-right: 12px; }
.coupon__btn.is-done { background: var(--bg); color: var(--grey-4); border-color: var(--line); cursor: default; }

/* ---------- 고객센터 3박스 ---------- */
.help { display: grid; grid-template-columns: 1fr; gap: 12px; }
.help__box { padding: 16px 18px; }
.help__box h3 { font-size: 15px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.help__box h3 a { font-size: 12px; font-weight: 500; color: var(--grey-4); }
.help__cs { font-size: 26px; font-weight: 900; color: var(--primary); margin-top: 6px; line-height: 1.1; }
.help__box p { font-size: 12px; color: var(--grey-5); margin-top: 4px; }
.help__box ul { margin-top: 8px; }
.help__box li a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.help__box li:last-child a { border-bottom: 0; }
.help__box li a span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.help__box li a time { flex: none; font-size: 12px; color: var(--grey-4); }
.help__btns { display: flex; gap: 6px; margin-top: 10px; }

/* ---------- 푸터 ---------- */
.footer { margin-top: 24px; background: #fff; border-top: 1px solid var(--line-2); padding: 24px 0 96px; font-size: 12px; color: var(--grey-4); line-height: 1.7; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 600; color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.footer__links a.is-strong { color: var(--primary); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 18px 0; }
.footer__grid h4 { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.footer__info p + p { margin-top: 2px; }
.footer__cert { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.footer__cert span { padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 11px; color: var(--grey-5); }
.footer__copy { margin-top: 12px; }

/* ---------- 플로팅 위젯 ---------- */
.recent { position: fixed; right: 16px; bottom: 90px; z-index: 30; display: none; flex-direction: column; align-items: center; gap: 6px; width: 76px; padding: 8px 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.recent h4 { font-size: 11px; font-weight: 800; color: var(--grey-5); }
.recent a { width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.recent a img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.recent__count { font-size: 11px; color: var(--grey-4); }
.totop { position: fixed; right: 16px; bottom: 76px; z-index: 30; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 4px 12px rgba(0, 0, 0, .1); display: inline-flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.totop.is-visible { opacity: 1; pointer-events: auto; }
.totop svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 모바일 하단 바 ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; color: var(--grey-4); padding: 4px 0; }
.mobile-bar a svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-bar a.is-active { color: var(--primary); }

@media (prefers-reduced-motion: reduce) { .banner__track { transition: none; } }

/* =========================================================
   반응형
   ========================================================= */
@media (min-width: 640px) {
  .el-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 14px; }
  .quick { grid-template-columns: repeat(10, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .coupons-grid { grid-template-columns: repeat(3, 1fr); }
  .help { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .slide { min-height: 300px; padding: 30px 34px; }
  .slide__img { width: min(100%, 300px); }
}
@media (min-width: 1024px) {
  .util { display: block; }
  .hdr__inner { height: 86px; gap: 28px; }
  .brand__name { font-size: 28px; }
  .search { max-width: 560px; height: 48px; }
  .hdr__tools { display: flex; }
  .icon-btn--menu { display: none; }
  .gnb__right { display: flex; }
  .gnb__inner { overflow: visible; }
  .top { grid-template-columns: 1fr 300px; }
  .slide { min-height: 340px; }
  .el-grid { grid-template-columns: repeat(5, 1fr); gap: 24px 16px; }
  .deal { flex-basis: calc((100% - 40px) / 5); }
  .brands-grid { grid-template-columns: repeat(8, 1fr); }
  .totop { right: 16px; bottom: 24px; }
  .footer { padding-bottom: 40px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .mobile-bar { display: none; }
}
@media (min-width: 1440px) {
  /* 본문 옆에 여유 공간이 있을 때만 최근 본 상품 위젯 표시 */
  .recent { display: flex; right: calc((100vw - var(--container)) / 2 - 92px); }
  .totop { right: calc((100vw - var(--container)) / 2 - 76px); }
}

/* ---------- 셀렉트샵 GNB 드롭다운 ---------- */
.gnb__item { position: relative; flex: none; }
.gnb__link--select { color: var(--ink); font-weight: 800; }
.gnb__drop { position: absolute; left: 0; top: 46px; min-width: 190px; background: #fff; border: 1px solid var(--line-2); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 14px 34px rgba(0, 0, 0, .12); padding: 8px 0; display: none; z-index: 60; }
.gnb__drop a { display: block; padding: 9px 16px; font-size: 13px; color: var(--grey-5); white-space: nowrap; }
.gnb__drop a:hover { color: var(--primary); background: var(--primary-bg); }

.card__shop { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 11px; color: var(--grey-4); }
.card__shop::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--gold); }
.card__shop:hover { color: var(--ink); text-decoration: underline; }
.util a.is-seller { color: var(--ink); font-weight: 700; }

/* ---------- 테마 타일 (메인 · 셀렉트샵 공통) ---------- */
.theme-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.theme-tile { display: block; position: relative; overflow: hidden; padding: 16px 14px; min-height: 112px; border-radius: var(--radius); border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.theme-tile:hover { transform: translateY(-2px); }
.theme-tile.is-active { border-color: var(--ink); }
.theme-tile__label { font-size: 11px; font-weight: 800; letter-spacing: .08em; opacity: .7; }
.theme-tile__title { display: block; margin-top: 4px; font-size: 16px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.25; }
.theme-tile__desc { display: block; margin-top: 4px; font-size: 12px; opacity: .8; }
.theme-tile img { display: none; position: absolute; right: 4px; bottom: 0; width: 72px; mix-blend-mode: multiply; }
.theme-tile--1 { background: #FFE9DF; color: #4A1F10; }
.theme-tile--2 { background: #E5EEFC; color: #12305E; }
.theme-tile--3 { background: #F3E9FB; color: #3B1A5E; }
.theme-tile--4 { background: #E6F6EE; color: #0F4A2E; }
.theme-tile--5 { background: #FFF4D6; color: #5C3D00; }
.theme-tile--6 { background: #FCE7EF; color: #5E1230; }
@media (min-width: 640px) {
  .theme-tiles { grid-template-columns: repeat(3, 1fr); }
  .theme-tile__desc { padding-right: 64px; }
  .theme-tile img { display: block; }
  .theme-tiles--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .gnb__item:hover .gnb__drop, .gnb__item:focus-within .gnb__drop { display: block; }
  .theme-tiles { grid-template-columns: repeat(6, 1fr); }
  .theme-tiles--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- AI 서비스 GNB 링크 ---------- */
.gnb__link--ai, .gnb__link--fo { gap: 4px; font-weight: 700; }
.gnb__link--ai svg, .gnb__link--fo svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.gnb__link--ai { color: #6D3BD1; }
.gnb__link--fo { color: #C2185B; }
.gnb__link--ai:hover, .gnb__link--fo:hover { opacity: .75; color: inherit; }

/* ---------- 메인: AI 서비스 타일 ---------- */
.fun-tiles { display: grid; grid-template-columns: 1fr; gap: 10px; }
.fun-tile { position: relative; display: block; overflow: hidden; padding: 20px; border-radius: var(--radius); min-height: 156px; }
.fun-tile__label { font-size: 11px; font-weight: 800; letter-spacing: .1em; opacity: .75; }
.fun-tile__title { display: block; margin-top: 6px; font-size: 21px; font-weight: 900; letter-spacing: -0.02em; }
.fun-tile__desc { display: block; margin-top: 8px; font-size: 13px; line-height: 1.6; opacity: .85; }
.fun-tile__go { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 800; }
.fun-tile img { position: absolute; right: 8px; bottom: 0; width: 108px; mix-blend-mode: multiply; opacity: .95; }
.fun-tile--ai { background: linear-gradient(120deg, #EDE6FB, #F7F3FF); color: #3B1A5E; }
.fun-tile--fo { background: linear-gradient(120deg, #FDE7EF, #FFF5F8); color: #5E1230; }
.fun-tile:hover .fun-tile__go { text-decoration: underline; }
@media (min-width: 640px) {
  .fun-tiles { grid-template-columns: repeat(2, 1fr); }
  .fun-tile { min-height: 172px; }
}
