/* =========================================================================
   shsus theme — (주)시흥에스티
   Steel graphite + safety orange. Pretendard.
   ========================================================================= */
@font-face {
  font-family: "Pretendard";
  src: url("../fonts/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  --sx-ink: #121a24;          /* graphite */
  --sx-ink-2: #1e2935;
  --sx-ink-3: #2b3846;
  --sx-steel-50: #f5f7f9;
  --sx-steel-100: #eceff3;
  --sx-steel-200: #dde2e8;
  --sx-steel-300: #c3cbd4;
  --sx-steel-500: #7d8896;
  --sx-steel-600: #5d6875;
  --sx-steel-700: #414b57;
  --sx-orange: #ee7b1e;       /* brand (logo) */
  --sx-orange-600: #d8650c;
  --sx-orange-50: #fff4ea;
  --sx-blue: #2c6db5;
  --sx-radius: 10px;
  --sx-radius-sm: 6px;
  --sx-shadow: 0 1px 2px rgba(18,26,36,.06), 0 6px 20px rgba(18,26,36,.06);
  --sx-shadow-lg: 0 12px 40px rgba(18,26,36,.18);
  --sx-wrap: 1280px;
  --sx-font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, input, button, select, textarea, table {
  font-family: var(--sx-font);
}
body { color: var(--sx-ink); background: #fff; font-size: 14px; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.sx-ic { display: inline-block; vertical-align: middle; flex: none; }
.sx-wrap { max-width: var(--sx-wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.sx-dim { color: var(--sx-steel-500); }
.sx-only-m { display: none !important; }
.sx-skip { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--sx-orange); color: #fff; padding: 10px 16px; }
.sx-skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--sx-orange); outline-offset: 2px; }

/* ---------- buttons ---------- */
.sx-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--sx-radius-sm);
  font-size: 15px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s, border-color .15s; border: 1px solid transparent; }
.sx-btn--primary { background: var(--sx-orange); color: #fff; }
.sx-btn--primary:hover { background: var(--sx-orange-600); }
.sx-btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.sx-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.sx-more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--sx-steel-600); text-decoration: none; }
.sx-more:hover { color: var(--sx-orange-600); }

/* =========================================================================
   HEADER
   ========================================================================= */
.sx-header { position: relative; z-index: 100; background: #fff; }
.sx-topbar { background: var(--sx-ink); color: #c9d1da; font-size: 12.5px; }
.sx-topbar .sx-wrap { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.sx-topbar__note { margin: 0; color: #8f9bab; letter-spacing: .02em; }
.sx-topbar__links { display: flex; margin: 0; padding: 0; list-style: none; }
.sx-topbar__links li + li::before { content: ""; display: inline-block; width: 1px; height: 10px; background: #3b4756; margin: 0 12px; vertical-align: middle; }
.sx-topbar__links a { color: #c9d1da; text-decoration: none; }
.sx-topbar__links a:hover { color: #fff; }
.sx-topbar__tel a { color: #fff; font-weight: 600; }
.sx-topbar__tel .sx-ic { color: var(--sx-orange); margin-top: -2px; }

.sx-masthead .sx-wrap { display: flex; align-items: center; gap: 40px; height: 88px; }
.sx-logo { flex: none; display: block; line-height: 0; }
.sx-logo img { height: 40px; width: auto; }
.sx-search { flex: 1; max-width: 620px; display: flex; align-items: center; height: 48px; border: 2px solid var(--sx-ink); border-radius: 999px; padding: 0 6px 0 20px; background: #fff; }
.sx-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; font-size: 15px; background: transparent; color: var(--sx-ink); }
.sx-search input::placeholder { color: var(--sx-steel-500); }
.sx-search input::-webkit-search-cancel-button { display: none; }
.sx-search button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--sx-orange); color: #fff; cursor: pointer; }
.sx-search button:hover { background: var(--sx-orange-600); }
.sx-actions { display: flex; gap: 20px; margin-left: auto; }
.sx-action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--sx-steel-700); text-decoration: none; }
.sx-action:hover { color: var(--sx-ink); }
.sx-badge { position: absolute; top: -6px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px;
  background: var(--sx-orange); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 18px; text-align: center; }
.sx-iconbtn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: var(--sx-ink); cursor: pointer; border-radius: 8px; }

.sx-nav { border-top: 1px solid var(--sx-steel-200); border-bottom: 1px solid var(--sx-steel-200); background: #fff; }
.sx-header.is-stuck .sx-nav { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 4px 16px rgba(18,26,36,.08); }
.sx-nav .sx-wrap { display: flex; align-items: stretch; height: 54px; }
.sx-allcat { position: relative; }
.sx-allcat__btn { display: flex; align-items: center; gap: 10px; height: 100%; padding: 0 22px; margin-right: 12px; border: 0; background: var(--sx-ink); color: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer; }
.sx-allcat__btn:hover, .sx-allcat.is-open .sx-allcat__btn { background: var(--sx-orange); }
.sx-mega { position: absolute; top: 100%; left: 0; width: min(1232px, calc(100vw - 48px)); background: #fff; border: 1px solid var(--sx-steel-200); border-top: 3px solid var(--sx-orange);
  box-shadow: var(--sx-shadow-lg); padding: 28px 32px; box-sizing: border-box; }
.sx-mega__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 24px; }
.sx-mega__head { display: block; font-weight: 700; font-size: 14px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--sx-steel-200); text-decoration: none; }
.sx-mega__head:hover { color: var(--sx-orange-600); }
.sx-mega ul { list-style: none; margin: 0; padding: 0; }
.sx-mega li a { display: block; padding: 3px 0; font-size: 13px; color: var(--sx-steel-600); text-decoration: none; }
.sx-mega li a:hover { color: var(--sx-ink); text-decoration: underline; }

.sx-gnb { display: flex; margin: 0; padding: 0; list-style: none; }
.sx-gnb > li { position: relative; }
.sx-gnb > li > a { display: flex; align-items: center; height: 100%; padding: 0 18px; font-size: 15px; font-weight: 600; color: var(--sx-ink); text-decoration: none; }
.sx-gnb > li > a:hover, .sx-gnb > li:focus-within > a { color: var(--sx-orange-600); }
.sx-gnb__sub { position: absolute; top: 100%; left: 6px; min-width: 168px; padding: 8px 0; margin: 0; list-style: none; background: #fff;
  border: 1px solid var(--sx-steel-200); border-radius: 0 0 var(--sx-radius-sm) var(--sx-radius-sm); box-shadow: var(--sx-shadow); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s; }
.sx-gnb > li:hover .sx-gnb__sub, .sx-gnb > li:focus-within .sx-gnb__sub { opacity: 1; visibility: visible; transform: none; }
.sx-gnb__sub a { display: block; padding: 8px 18px; font-size: 14px; color: var(--sx-steel-700); text-decoration: none; white-space: nowrap; }
.sx-gnb__sub a:hover { background: var(--sx-steel-50); color: var(--sx-orange-600); }
.sx-nav__cta { margin-left: auto; align-self: center; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--sx-orange-50); color: var(--sx-orange-600); font-weight: 700; font-size: 14px; text-decoration: none; }
.sx-nav__cta:hover { background: var(--sx-orange); color: #fff; }

/* drawer (mobile) */
.sx-drawer { position: fixed; inset: 0; z-index: 1000; background: rgba(10,15,22,.5); opacity: 0; visibility: hidden; transition: .2s; }
.sx-drawer.is-open { opacity: 1; visibility: visible; }
.sx-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .25s; padding-bottom: 32px; }
.sx-drawer.is-open .sx-drawer__panel { transform: none; }
.sx-drawer__top { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 20px; background: var(--sx-ink); color: #fff; }
.sx-drawer__top a { color: #fff; text-decoration: none; font-size: 16px; }
.sx-drawer__top .sx-drawer__sm { font-size: 13px; color: #aeb8c4; }
.sx-drawer__top .sx-iconbtn { margin-left: auto; color: #fff; }
.sx-drawer__quick { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 8px solid var(--sx-steel-100); }
.sx-drawer__quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 0; font-size: 13px; text-decoration: none; color: var(--sx-steel-700); }
.sx-drawer__quick a + a { border-left: 1px solid var(--sx-steel-100); }
.sx-drawer__label { margin: 20px 20px 6px; font-size: 12px; font-weight: 700; color: var(--sx-steel-500); letter-spacing: .04em; }
.sx-acc { list-style: none; margin: 0; padding: 0; }
.sx-acc__btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 20px; border: 0; border-bottom: 1px solid var(--sx-steel-100);
  background: #fff; font-size: 15px; font-weight: 500; color: var(--sx-ink); text-align: left; text-decoration: none; box-sizing: border-box; cursor: pointer; }
.sx-acc__btn[aria-expanded="true"] { color: var(--sx-orange-600); }
.sx-acc__btn[aria-expanded="true"] .sx-ic { transform: rotate(180deg); }
.sx-acc__sub { list-style: none; margin: 0; padding: 6px 0; background: var(--sx-steel-50); }
.sx-acc__sub a { display: block; padding: 9px 32px; font-size: 14px; color: var(--sx-steel-700); text-decoration: none; }
.sx-drawer__call { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 24px 20px 0; height: 48px; border-radius: var(--sx-radius-sm);
  background: var(--sx-orange); color: #fff; font-weight: 700; text-decoration: none; }

/* =========================================================================
   LAYOUT OVERRIDES (gnuboard basic)
   ========================================================================= */
#hd, #wrapper, #ft { min-width: 0; }
#wrapper { background: #fff; }
#wrapper.is_community { background: #fff; }
#container { width: auto; max-width: var(--sx-wrap); padding: 0 24px 72px; box-sizing: border-box; }
#container .is_index { margin-left: 0; }
#wrapper.sx-main #container:has(.is_index) { max-width: none; padding: 0; }
#text_size { display: none !important; }
.sx-pagehead { padding: 36px 0 20px !important; margin-bottom: 24px; border-bottom: 2px solid var(--sx-ink); }
.sx-pagehead h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }

/* =========================================================================
   MAIN
   ========================================================================= */
.sx-eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--sx-orange); }

.sx-hero { position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(238,123,30,.22), transparent 60%),
    repeating-linear-gradient(100deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px),
    linear-gradient(135deg, #1b2531 0%, #121a24 55%, #0c121a 100%); }
.sx-hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); pointer-events: none; }
.sx-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 84px; }
.sx-hero h1 { margin: 0; font-size: 46px; line-height: 1.22; font-weight: 800; letter-spacing: -0.035em; }
.sx-hero h1 em { font-style: normal; color: var(--sx-orange); }
.sx-hero__lead { margin: 22px 0 32px; font-size: 17px; line-height: 1.7; color: #b8c2ce; }
.sx-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.sx-hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; padding: 0; list-style: none; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--sx-radius); overflow: hidden; backdrop-filter: blur(4px); }
.sx-hero__facts li { background: rgba(18,26,36,.72); padding: 26px 24px; }
.sx-hero__facts strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sx-hero__facts span { display: block; margin-top: 6px; font-size: 13px; color: #9aa6b4; }

.sx-section { padding: 72px 0; }
.sx-section + .sx-section--shelf { padding-top: 0; }
.sx-section--shelf + .sx-section--shelf { padding-top: 0; }
.sx-section__head { margin-bottom: 28px; }
.sx-section__head h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.sx-section__head p { margin: 8px 0 0; color: var(--sx-steel-600); font-size: 15px; }
.sx-section__head--row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.sx-section__head--row h2, .sx-section__head--row h3 { margin: 0; }

/* category grid */
.sx-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sx-cat { position: relative; background: #fff; border: 1px solid var(--sx-steel-200); border-radius: var(--sx-radius); transition: border-color .15s, box-shadow .15s, transform .15s; }
.sx-cat:hover { border-color: var(--sx-ink); box-shadow: var(--sx-shadow); transform: translateY(-2px); }
.sx-cat > a { display: block; padding: 14px 14px 16px; text-decoration: none; }
.sx-cat__img { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--sx-radius-sm); background: var(--sx-steel-50); overflow: hidden; color: var(--sx-steel-300); }
.sx-cat__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.sx-cat__name { display: block; margin-top: 12px; font-size: 15px; font-weight: 700; line-height: 1.35; word-break: keep-all; }
.sx-cat__count { display: block; margin-top: 4px; font-size: 12.5px; color: var(--sx-steel-500); }
.sx-cat__subs { display: none; }

/* product cards */
.sx-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sx-card a { display: block; text-decoration: none; }
.sx-card__img { display: block; aspect-ratio: 1; border-radius: var(--sx-radius); overflow: hidden; background: var(--sx-steel-50); border: 1px solid var(--sx-steel-100); }
.sx-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; mix-blend-mode: multiply; }
.sx-card a:hover .sx-card__img img { transform: scale(1.04); }
.sx-card__body { display: block; padding: 12px 2px 0; }
.sx-card__cat { display: block; font-size: 12px; color: var(--sx-steel-500); margin-bottom: 4px; }
.sx-card__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.45; min-height: 2.9em; word-break: keep-all; }
.sx-price { display: block; margin-top: 8px; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sx-price small { font-size: 12px; font-weight: 500; color: var(--sx-steel-500); margin-left: 1px; }
.sx-price--ask { font-size: 14px; font-weight: 700; color: var(--sx-blue); }

/* fabrication band */
.sx-make { background: var(--sx-steel-50); border-top: 1px solid var(--sx-steel-100); border-bottom: 1px solid var(--sx-steel-100); padding: 80px 0; }
.sx-make__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.sx-make h2 { margin: 0; font-size: 34px; line-height: 1.3; font-weight: 800; letter-spacing: -0.03em; }
.sx-make__copy > p { margin: 18px 0 24px; font-size: 15.5px; line-height: 1.75; color: var(--sx-steel-700); }
.sx-make .sx-btn--ghost { color: var(--sx-ink); border-color: var(--sx-steel-300); background: #fff; }
.sx-make .sx-btn--ghost:hover { border-color: var(--sx-ink); }
.sx-steps { display: flex; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: s; }
.sx-steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--sx-steel-200); border-radius: var(--sx-radius-sm); font-size: 14px; font-weight: 600; }
.sx-steps span { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--sx-ink); color: #fff; font-size: 12px; }
.sx-make__works h3 { font-size: 18px; font-weight: 800; }
.sx-make__works .sx-section__head--row { margin-bottom: 16px; }
.sx-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sx-works a { display: block; position: relative; border-radius: var(--sx-radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sx-ink-2); text-decoration: none; }
.sx-works img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, opacity .35s; opacity: .92; }
.sx-works a:hover img { transform: scale(1.05); opacity: 1; }
.sx-works span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; background: linear-gradient(transparent, rgba(10,15,22,.85));
  color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; }

/* info row */
.sx-info { display: grid; grid-template-columns: 1fr 1fr 360px; gap: 24px; }
.sx-panel { border: 1px solid var(--sx-steel-200); border-radius: var(--sx-radius); padding: 22px 24px; }
.sx-panel h3 { margin: 0; font-size: 17px; font-weight: 800; }
.sx-panel .sx-section__head--row { padding-bottom: 12px; border-bottom: 1px solid var(--sx-steel-200); }
.sx-list { list-style: none; margin: 0; padding: 0; }
.sx-list a { display: flex; gap: 12px; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--sx-steel-200); text-decoration: none; font-size: 14px; }
.sx-list li:last-child a { border-bottom: 0; }
.sx-list a:hover .sx-list__t { color: var(--sx-orange-600); }
.sx-list__t { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sx-list__c { font-weight: 600; font-size: 12px; color: var(--sx-blue); }
.sx-list time { flex: none; color: var(--sx-steel-500); font-size: 13px; font-variant-numeric: tabular-nums; }
.sx-lock { font-style: normal; font-size: 11px; font-weight: 600; color: var(--sx-steel-600); background: var(--sx-steel-100); border-radius: 4px; padding: 2px 6px; margin-right: 6px; }
.sx-empty { padding: 24px 0; color: var(--sx-steel-500); }
.sx-panel--cs { background: var(--sx-ink); border-color: var(--sx-ink); color: #fff; }
.sx-cs__tel { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; }
.sx-cs__tel .sx-ic { color: var(--sx-orange); }
.sx-cs__hours { display: flex; align-items: center; gap: 6px; margin: 0 0 20px; color: #9aa6b4; font-size: 13.5px; }
.sx-cs__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sx-cs__links a { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: var(--sx-radius-sm); background: rgba(255,255,255,.07); color: #fff; font-size: 14px; text-decoration: none; }
.sx-cs__links a:hover { background: rgba(255,255,255,.14); }
.sx-cs__links .sx-ic { color: var(--sx-orange); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.sx-footer { background: var(--sx-ink); color: #aeb8c4; font-size: 14px; margin-top: 0; }
.sx-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr .9fr; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.sx-footer h2 { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.sx-footer p { margin: 0 0 8px; line-height: 1.7; }
.sx-footer a { color: #d5dce4; text-decoration: none; }
.sx-footer a:hover { color: #fff; }
.sx-footer__logo { height: 35px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 16px; }
.sx-footer__addr { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.sx-footer__addr span { font-size: 12px; color: var(--sx-orange); }
.sx-footer__tel { display: block; font-size: 26px; font-weight: 800; color: #fff !important; letter-spacing: -0.02em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.sx-footer__acct { color: #fff; font-weight: 600; }
.sx-footer__links ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; }
.sx-footer__links li { margin-bottom: 9px; }
.sx-footer__legal { border-top: 1px solid #243140; padding: 24px 0 32px; font-size: 12.5px; }
.sx-footer__policy { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0 0 14px; padding: 0; }
.sx-footer__policy strong { color: #fff; }
.sx-footer__info span { display: inline-block; margin-right: 14px; }
.sx-footer__info a { margin-left: 6px; text-decoration: underline; color: #aeb8c4; }
.sx-footer__copy { color: #6f7c8b; }
.sx-footer__copy a { margin-left: 12px; color: #6f7c8b; text-decoration: underline; }
.sx-totop { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--sx-ink); color: #fff; box-shadow: var(--sx-shadow-lg); cursor: pointer; opacity: 0; visibility: hidden; transition: .2s; }
.sx-totop.is-on { opacity: 1; visibility: visible; }
.sx-totop:hover { background: var(--sx-orange); }
#ft, #side_menu { display: none; }

/* =========================================================================
   SKIN TOUCH-UPS (shop list / item / boards / forms)
   ========================================================================= */
/* buttons used by gnuboard skins */
.btn_submit, a.btn_submit, .btn01, a.btn01, .btn_b01, a.btn_b01, .btn_b02, a.btn_b02, .btn_frmline, .btn_admin, a.btn_admin {
  border-radius: var(--sx-radius-sm) !important; font-family: var(--sx-font); }
.btn_submit, a.btn_submit, .btn_b02, a.btn_b02 { background: var(--sx-orange) !important; border-color: var(--sx-orange) !important; color: #fff !important; }
.btn_submit:hover, a.btn_submit:hover, .btn_b02:hover, a.btn_b02:hover { background: var(--sx-orange-600) !important; }
.btn_b01, a.btn_b01, .btn01, a.btn01 { border-color: var(--sx-steel-300) !important; }
.frm_input, .frm_file, textarea, select { border-radius: var(--sx-radius-sm); border-color: var(--sx-steel-300); font-family: var(--sx-font); }
.frm_input:focus, textarea:focus, select:focus { border-color: var(--sx-ink); outline: 0; box-shadow: 0 0 0 3px rgba(238,123,30,.18); }

/* pagination */
.pg_wrap { margin: 32px 0 0; }
.pg_page, .pg_current { min-width: 36px; height: 36px; line-height: 36px; border-radius: var(--sx-radius-sm); }
.pg_current { background: var(--sx-ink) !important; border-color: var(--sx-ink) !important; color: #fff !important; }

/* tables */
.tbl_head01 thead th, .tbl_head02 thead th { background: var(--sx-steel-50); border-top: 2px solid var(--sx-ink); }

/* category list page */
#sct_location, .sct_location { border-radius: var(--sx-radius-sm); }
#sct .sct_txt a, #sct .sct_10 .sct_txt a { font-weight: 600; }
#sct .sct_cost, #sct .sct_10 .sct_cost { font-weight: 800; color: var(--sx-ink); }
#sct_ct_1 a, .sct_ct a { border-radius: 999px !important; }

/* item page */
#sit_title { font-weight: 800 !important; letter-spacing: -0.03em; }
#sit_tot_price { color: var(--sx-orange-600); }
#sit_btn_buy, .sit_btn_buy { background: var(--sx-orange) !important; border-radius: var(--sx-radius-sm) !important; }
#sit_btn_cart, .sit_btn_cart { border-radius: var(--sx-radius-sm) !important; }
#sit_inf_explan { font-family: var(--sx-font); }

/* content pages (company / terms) */
#ctt { padding-bottom: 24px; }
#ctt_con { font-size: 15px; line-height: 1.75; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1200px) {
  .sx-cats { grid-template-columns: repeat(4, 1fr); }
  .sx-cards { grid-template-columns: repeat(4, 1fr); }
  .sx-info { grid-template-columns: 1fr 1fr; }
  .sx-panel--cs { grid-column: 1 / -1; }
  .sx-mega__grid { grid-template-columns: repeat(4, 1fr); }
  .sx-gnb > li > a { padding: 0 12px; }
}
@media (max-width: 1024px) {
  .sx-only-m { display: grid !important; }
  .sx-only-pc { display: none !important; }
  .sx-topbar { display: none; }
  .sx-nav { display: none; }
  .sx-header { position: sticky; top: 0; box-shadow: 0 1px 0 var(--sx-steel-200); }
  .sx-masthead .sx-wrap { height: auto; flex-wrap: wrap; gap: 0 8px; padding: 8px 12px 12px; }
  .sx-logo img { height: 30px; }
  .sx-actions { gap: 4px; }
  .sx-action { width: 40px; height: 40px; justify-content: center; }
  .sx-search { order: 10; flex-basis: 100%; max-width: none; height: 44px; margin-top: 8px; border-width: 1.5px; }
  .sx-hero__inner { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
  .sx-hero h1 { font-size: 34px; }
  .sx-make__inner { grid-template-columns: 1fr; gap: 40px; }
  .sx-footer__grid { grid-template-columns: 1fr 1fr; }
  #container { padding: 0 16px 48px; }
}
@media (max-width: 640px) {
  .sx-wrap { padding-left: 16px; padding-right: 16px; }
  .sx-hero h1 { font-size: 27px; }
  .sx-hero__lead { font-size: 15px; margin: 16px 0 24px; }
  .sx-hero__facts li { padding: 18px 16px; }
  .sx-hero__facts strong { font-size: 22px; }
  .sx-btn { height: 46px; padding: 0 18px; font-size: 14.5px; }
  .sx-section { padding: 48px 0; }
  .sx-section__head h2 { font-size: 22px; }
  .sx-cats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .sx-cat > a { padding: 8px 8px 12px; }
  .sx-cat__name { font-size: 13px; margin-top: 8px; }
  .sx-cat__count { font-size: 11.5px; }
  .sx-cards { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .sx-make { padding: 56px 0; }
  .sx-make h2 { font-size: 26px; }
  .sx-steps { flex-direction: column; }
  .sx-works { grid-template-columns: repeat(2, 1fr); }
  .sx-info { grid-template-columns: 1fr; }
  .sx-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .sx-pagehead h1 { font-size: 22px; }
  .sx-totop { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

/* empty related-items box */
#sit_rel:has(.sct_noitem) { display: none; }
/* item tabs */
#sit_info .tab_tit li .selected, #sit_tab .tab_tit .selected { border-color: var(--sx-orange) !important; color: var(--sx-ink) !important; }

/* mobile container (no #wrapper) */
#container.sx-main.is_index { max-width: none; padding: 0; margin: 0; }
#container.sx-main { background: #fff; }
.sx-hero .sx-btn--ghost { color: #fff !important; }
.sx-hero .sx-btn--primary, .sx-make .sx-btn--primary { color: #fff !important; }
@media (max-width: 640px) {
  .sx-cards .sx-card:nth-child(n+5) { display: none; }
}

/* mobile page title */
#container_title.sx-pagehead { height: auto; margin: 0 0 8px; padding: 22px 16px 14px !important; background: #fff; box-shadow: none; border-bottom: 2px solid var(--sx-ink);
  white-space: normal; line-height: 1.3; font-size: inherit; }
#container_title.sx-pagehead h1 { font-size: 21px; }

/* inquiry phone field */
.sx-phone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sx-phone__label { font-weight: 600; min-width: 64px; }
.sx-phone__help { font-size: 13px; color: var(--sx-orange-600); }
.sx-phone-view { margin: 12px 0; padding: 12px 16px; background: var(--sx-orange-50); border-radius: var(--sx-radius-sm); font-size: 14px; }
.sx-phone-view strong { margin-right: 8px; }
.sx-phone-view a { font-weight: 700; color: var(--sx-ink); }
.sx-phone-view span { margin-left: 10px; font-size: 12px; color: var(--sx-steel-500); }

/* board head (구 사이트 게시판 상단 내용) */
.sx-boardhead { padding: 44px 16px 30px; margin-bottom: 24px; text-align: center; border-bottom: 2px solid var(--sx-ink); }
.sx-boardhead .p-3, .sx-boardhead .my-3, .sx-boardhead .page-content, .sx-boardhead .c_top, .sx-boardhead .top_box { padding: 0; margin: 0; max-width: none; }
.sx-boardhead .text-center { text-align: center; }
.sx-boardhead .fs-1, .sx-boardhead .top_title { display: block; margin: 0 0 12px; padding: 0; font-size: 34px; line-height: 1.25; font-weight: 800; letter-spacing: -0.03em; color: var(--sx-ink); }
.sx-boardhead .fw-bold { font-weight: 800; }
.sx-boardhead .fs-1 + .text-center, .sx-boardhead .top_txt { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--sx-steel-600); word-break: keep-all; }
@media (max-width: 640px) {
  .sx-boardhead { padding: 28px 8px 20px; margin-bottom: 12px; }
  .sx-boardhead .fs-1, .sx-boardhead .top_title { font-size: 24px; margin-bottom: 8px; }
  .sx-boardhead .fs-1 + .text-center, .sx-boardhead .top_txt { font-size: 14px; }
}

/* GNB hover: background + text */
.sx-gnb > li > a { transition: background-color .15s, color .15s; }
.sx-gnb > li:hover > a, .sx-gnb > li:focus-within > a, .sx-gnb > li > a:hover { background: var(--sx-orange); color: #fff; }
.sx-gnb__sub { left: 0; border-top: 2px solid var(--sx-orange); }

/* GNB sub menus: full-width panel like the category mega menu */
.sx-nav .sx-wrap { position: relative; }
.sx-gnb > li { position: static; }
.sx-gnb__sub { left: 24px !important; right: 24px; top: 100%; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
  padding: 18px 32px; border: 1px solid var(--sx-steel-200); border-top: 3px solid var(--sx-orange); border-radius: 0 0 var(--sx-radius-sm) var(--sx-radius-sm); box-shadow: var(--sx-shadow-lg); }
.sx-gnb__sub-title { margin-right: 22px; padding-right: 22px; border-right: 1px solid var(--sx-steel-200); font-size: 15px; font-weight: 800; color: var(--sx-ink); white-space: nowrap; }
.sx-gnb__sub a { padding: 8px 14px; border-radius: var(--sx-radius-sm); font-size: 14.5px; }

/* cart option lines */
.sx-cart-opts { margin: 6px 0 0; padding: 0; list-style: none; }
.sx-cart-opts li { position: relative; padding: 2px 0 2px 12px; font-size: 13.5px; color: var(--sx-steel-700); line-height: 1.55; }
.sx-cart-opts li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 4px; height: 4px; border-radius: 50%; background: var(--sx-steel-300); }
.sx-cart-qty { margin-left: 4px; font-weight: 700; color: var(--sx-ink); }
.sx-cart-qty { white-space: nowrap; }
