/* RAMBO MALL layout — shop (minimal fashion) + community (top nav + 2-column board) */
:root {
	--rb-font: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--rb-font-en: Montserrat, var(--rb-font);
	--rb-maxw: 1440px;
	--rb-gap: 20px;
	--rb-ease: cubic-bezier(.2, .7, .2, 1);
}
.rb-mode-shop {
	--rb-bg: #ffffff;
	--rb-surface: #ffffff;
	--rb-surface-2: #f6f6f6;
	--rb-text: #1c1c1c;
	--rb-muted: #8a8a8a;
	--rb-line: #ececec;
	--rb-primary: #1c1c1c;
	--rb-primary-ink: #ffffff;
	--rb-accent: #ff6a10;
	--rb-sale: #e5322d;
	--rb-radius: 0px;
	--rb-header-h: 68px;
}
.rb-mode-community {
	--rb-bg: #f6f5f2;
	--rb-surface: #ffffff;
	--rb-surface-2: #f1efea;
	--rb-text: #1e1e1e;
	--rb-muted: #75716b;
	--rb-line: #e6e2dc;
	--rb-primary: #1e1e1e;
	--rb-primary-ink: #ffffff;
	--rb-primary-weak: #fff1e7;
	--rb-accent: #ff6a10;
	--rb-sale: #e5322d;
	--rb-radius: 12px;
	--rb-cmaxw: 1180px;
	--rb-cheader-h: 64px;
}
html[data-rb-theme="dark"] .rb-mode-community {
	--rb-bg: #121211;
	--rb-surface: #1b1a19;
	--rb-surface-2: #242321;
	--rb-text: #ecebe8;
	--rb-muted: #9b978f;
	--rb-line: #2e2c29;
	--rb-primary: #ecebe8;
	--rb-primary-ink: #121211;
	--rb-primary-weak: #3a2414;
}

/* base */
html, body { margin: 0; padding: 0; }
.rb-root { overflow-x: clip; min-height: 100vh; background: var(--rb-bg); color: var(--rb-text); font-family: var(--rb-font); font-size: 14px; line-height: 1.6; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
.rb-root *, .rb-root *::before, .rb-root *::after { box-sizing: border-box; }
.rb-root a { color: inherit; text-decoration: none; }
.rb-root img { max-width: 100%; height: auto; }
.rb-root button { font: inherit; color: inherit; }
.rb-root svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rb-container { width: 100%; max-width: var(--rb-maxw); margin: 0 auto; padding: 0 var(--rb-gap); }
.rb-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 8px 12px; background: #000; color: #fff; }
.rb-skip:focus { left: 8px; top: 8px; }
.rb-root [hidden] { display: none !important; }

.rb-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; border-radius: 999px; }
.rb-iconbtn:hover { background: rgba(0, 0, 0, .05); }
.rb-logo { display: inline-flex; align-items: center; font-family: var(--rb-font-en); font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.rb-logo img { max-height: 36px; width: auto; }

.rb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: calc(var(--rb-radius) / 2 + 4px); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s var(--rb-ease), color .2s var(--rb-ease), border-color .2s var(--rb-ease); }
.rb-btn--primary { background: var(--rb-primary); color: var(--rb-primary-ink) !important; }
.rb-btn--primary:hover { filter: brightness(1.08); }
.rb-btn--line { background: var(--rb-surface); border-color: var(--rb-line); color: var(--rb-text); }
.rb-btn--line:hover { border-color: var(--rb-text); }
.rb-btn--block { width: 100%; }
.rb-card { background: var(--rb-surface); border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 20px; }

/* ===== SHOP MODE ===== */
.rb-topbar { background: #1c1c1c; color: #fff; text-align: center; font-size: 12px; padding: 7px 12px; letter-spacing: .02em; }
.rb-header--overlay:not(.is-scrolled):not(.is-open) .rb-topbar { background: rgba(0, 0, 0, .35); }
.rb-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rb-line); transition: background .3s var(--rb-ease), color .3s var(--rb-ease), border-color .3s var(--rb-ease); }
.rb-header__inner { display: flex; align-items: center; gap: 28px; max-width: var(--rb-maxw); height: var(--rb-header-h); margin: 0 auto; padding: 0 var(--rb-gap); }
.rb-header .rb-logo { font-size: 24px; letter-spacing: .08em; }
.rb-header__menu { display: none; }
.rb-gnb { flex: 1; min-width: 0; }
.rb-gnb > ul { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.rb-gnb > ul > li { position: relative; }
.rb-gnb > ul > li > a { display: block; padding: 22px 0; font-family: var(--rb-font-en); font-weight: 600; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.rb-gnb > ul > li.is-active > a, .rb-gnb > ul > li > a:hover { box-shadow: inset 0 -2px 0 currentColor; }
.rb-gnb__sub { position: absolute; left: -16px; top: 100%; min-width: 180px; margin: 0; padding: 12px 0; list-style: none; background: #fff; color: var(--rb-text); border: 1px solid var(--rb-line); box-shadow: 0 12px 30px rgba(0, 0, 0, .08); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--rb-ease); }
.rb-gnb li:hover > .rb-gnb__sub, .rb-gnb li:focus-within > .rb-gnb__sub { opacity: 1; visibility: visible; transform: none; }
.rb-gnb__sub a { display: block; padding: 7px 18px; font-size: 13px; color: #555; }
.rb-gnb__sub a:hover, .rb-gnb__sub a.is-active { color: var(--rb-text); font-weight: 600; }
.rb-header__tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.rb-header--overlay { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; }
.rb-header--overlay .rb-iconbtn:hover { background: rgba(255, 255, 255, .15); }
.rb-header--overlay.is-scrolled, .rb-header--overlay.is-open { background: rgba(255, 255, 255, .97); color: var(--rb-text); border-color: var(--rb-line); backdrop-filter: saturate(1.4) blur(10px); }
.rb-search { border-top: 1px solid var(--rb-line); background: #fff; color: var(--rb-text); }
.rb-search__form { display: flex; gap: 10px; max-width: 760px; margin: 0 auto; padding: 18px var(--rb-gap); }
.rb-search__form input[type="search"] { flex: 1; height: 48px; padding: 0 4px; border: 0; border-bottom: 2px solid var(--rb-text); background: transparent; font-size: 16px; outline: none; }
.rb-search__form button { height: 48px; padding: 0 22px; border: 0; background: var(--rb-text); color: #fff; font-weight: 700; cursor: pointer; }

.rb-main { min-height: 50vh; }
.rb-content { display: flow-root; padding-top: 40px; padding-bottom: 80px; }
.rb-content img { max-width: 100%; }
.rb-footer { clear: both; }
.rb-content--main:empty, .rb-content--main:not(:has(*)) { display: none; }

/* hero */
.rb-hero { position: relative; height: min(88vh, 860px); min-height: 520px; overflow: hidden; background: #111; color: #fff; }
.rb-hero__track, .rb-hero__slide { position: absolute; inset: 0; }
.rb-hero__slide { opacity: 0; transition: opacity .9s var(--rb-ease); }
.rb-hero__slide.is-active { opacity: 1; }
.rb-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.rb-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .35) 100%); }
.rb-hero__copy { position: absolute; left: max(var(--rb-gap), calc((100vw - var(--rb-maxw)) / 2 + var(--rb-gap))); bottom: 72px; z-index: 2; display: grid; gap: 8px; max-width: 640px; }
.rb-hero__copy em { font-style: normal; font-family: var(--rb-font-en); font-size: 13px; letter-spacing: .25em; text-transform: uppercase; opacity: .85; }
.rb-hero__copy strong { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.rb-hero__count { position: absolute; right: max(var(--rb-gap), calc((100vw - var(--rb-maxw)) / 2 + var(--rb-gap))); bottom: 36px; z-index: 3; padding: 4px 14px; border-radius: 999px; background: rgba(0, 0, 0, .35); font-family: var(--rb-font-en); font-size: 13px; }
.rb-hero__placeholder { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; text-align: center; padding: 0 24px; background: radial-gradient(120% 90% at 20% 10%, #3a3a3a 0%, #151515 55%, #0b0b0b 100%); }
.rb-hero__placeholder strong { font-family: var(--rb-font-en); font-size: clamp(36px, 6vw, 84px); letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.rb-hero__eyebrow { font-family: var(--rb-font-en); font-size: 13px; letter-spacing: .4em; color: var(--rb-accent); }
.rb-hero__placeholder p { margin: 0; color: rgba(255, 255, 255, .6); font-size: 13px; }

/* product sections */
.rb-section { max-width: var(--rb-maxw); margin: 0 auto; padding: 72px var(--rb-gap) 8px; }
.rb-section__head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 26px; }
.rb-section__head h2 { margin: 0; font-family: var(--rb-font-en); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: .04em; }
.rb-section__head a { font-family: var(--rb-font-en); font-size: 12px; font-weight: 600; letter-spacing: .12em; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.rb-main-extra { max-width: var(--rb-maxw); margin: 0 auto; padding: 48px var(--rb-gap) 0; }
.rb-admin-hint { max-width: var(--rb-maxw); margin: 40px auto 0; padding: 16px var(--rb-gap); color: var(--rb-muted); border: 1px dashed var(--rb-line); font-size: 13px; }

/* drawer */
.rb-drawer { position: fixed; inset: 0; z-index: 100; }
.rb-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); animation: rbFade .2s var(--rb-ease); }
.rb-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); overflow-y: auto; background: var(--rb-surface); color: var(--rb-text); padding: 18px 20px 40px; animation: rbSlide .28s var(--rb-ease); }
.rb-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.rb-drawer__head .rb-logo { font-size: 20px; }
.rb-drawer__member { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0; border-top: 1px solid var(--rb-line); border-bottom: 1px solid var(--rb-line); }
.rb-drawer__member .rb-btn { flex: 1; height: 42px; }
.rb-drawer__member strong { width: 100%; }
.rb-drawer__member a:not(.rb-btn) { font-size: 13px; color: var(--rb-muted); margin-right: 10px; }
.rb-drawer__nav ul { margin: 0; padding: 0; list-style: none; }
.rb-drawer__nav > ul > li > a { display: block; padding: 14px 0; font-weight: 700; font-size: 15px; border-bottom: 1px solid var(--rb-line); }
.rb-drawer__nav li ul a { display: block; padding: 8px 0 8px 14px; font-size: 14px; color: var(--rb-muted); }
.rb-drawer__nav a.is-active { color: var(--rb-primary); }
.rb-drawer__util { margin-top: 14px !important; }
.rb-drawer__util a { display: block; padding: 8px 0; color: var(--rb-muted); }
.rb-drawer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.rb-drawer__links a { padding: 12px 0; text-align: center; border: 1px solid var(--rb-line); font-size: 13px; }
@keyframes rbFade { from { opacity: 0; } }
@keyframes rbSlide { from { transform: translateX(-100%); } }

/* footer */
.rb-footer { margin-top: 0; padding: 56px 0 72px; background: var(--rb-surface-2); color: var(--rb-muted); font-size: 13px; }
.rb-mode-shop .rb-footer { background: #f7f7f7; border-top: 1px solid var(--rb-line); }
.rb-fnb { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 30px; }
.rb-fnb a { color: var(--rb-text); font-weight: 600; }
.rb-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.rb-footer__grid h3 { margin: 0 0 10px; color: var(--rb-text); font-family: var(--rb-font-en); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.rb-footer__grid p { margin: 0; line-height: 1.8; }
.rb-footer__sns a { display: inline-block; margin-right: 12px; color: var(--rb-text); }
.rb-footer__copy { margin: 36px 0 0; font-family: var(--rb-font-en); font-size: 12px; letter-spacing: .02em; }
.rb-footer__admin { margin: 8px 0 0; font-size: 12px; }

.rb-totop { position: fixed; right: 20px; bottom: 24px; z-index: 40; width: 46px; height: 46px; border: 1px solid var(--rb-line); border-radius: 999px; background: var(--rb-surface); color: var(--rb-text); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: all .25s var(--rb-ease); }
.rb-totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ===== COMMUNITY MODE ===== */
.rb-cheader { position: sticky; top: 0; z-index: 50; background: var(--rb-surface); border-bottom: 1px solid var(--rb-line); }
.rb-cheader__inner { display: flex; align-items: center; gap: 36px; max-width: var(--rb-cmaxw); height: var(--rb-cheader-h); margin: 0 auto; padding: 0 var(--rb-gap); }
.rb-cheader .rb-logo { font-size: 22px; letter-spacing: .06em; }
.rb-cheader .rb-logo span::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 3px; border-radius: 999px; background: var(--rb-accent); vertical-align: baseline; }
.rb-cheader__menu { display: none; }
.rb-cgnb { display: flex; flex: 1; min-width: 0; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.rb-cgnb a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--rb-muted); white-space: nowrap; }
.rb-cgnb a:hover { color: var(--rb-text); background: var(--rb-surface-2); }
.rb-cgnb a.is-active { color: var(--rb-text); font-weight: 700; background: var(--rb-surface-2); }
.rb-cheader__tools { flex: none; display: flex; align-items: center; gap: 4px; margin-left: auto; }
.rb-cheader .rb-iconbtn:hover { background: var(--rb-surface-2); }
.rb-cheader__login { flex: none; white-space: nowrap; display: inline-flex; align-items: center; height: 36px; margin-left: 6px; padding: 0 16px; border-radius: 999px; background: var(--rb-primary); color: var(--rb-primary-ink) !important; font-size: 13px; font-weight: 700; }
.rb-cheader__me { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-left: 6px; border-radius: 999px; overflow: hidden; background: var(--rb-accent); color: #fff; font-weight: 800; }
.rb-cheader__me img { width: 100%; height: 100%; object-fit: cover; }
.rb-cheader .rb-search { background: var(--rb-surface); color: var(--rb-text); }
.rb-mode-community .rb-search__form input[type="search"] { color: var(--rb-text); border-bottom-color: var(--rb-text); }
.rb-mode-community .rb-search__form button { background: var(--rb-primary); color: var(--rb-primary-ink); border-radius: 8px; }

.rb-csub { background: var(--rb-surface); border-bottom: 1px solid var(--rb-line); }
.rb-csub__inner { max-width: var(--rb-cmaxw); margin: 0 auto; padding: 30px var(--rb-gap) 0; }
.rb-csub h1 { margin: 0 0 18px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.rb-csub__inner:not(:has(.rb-csub__tabs)) { padding-bottom: 8px; }
.rb-csub__tabs { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.rb-csub__tabs a { flex: none; padding: 0 0 13px; font-size: 15px; font-weight: 600; color: var(--rb-muted); border-bottom: 2px solid transparent; }
.rb-csub__tabs a:hover { color: var(--rb-text); }
.rb-csub__tabs a.is-active { color: var(--rb-text); font-weight: 700; border-color: var(--rb-accent); }

.rb-cbody { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; max-width: var(--rb-cmaxw); margin: 0 auto; padding: 28px var(--rb-gap) 72px; }
.rb-cmain { display: flow-root; min-width: 0; }
.rb-cmain img { max-width: 100%; }
.rb-caside { position: sticky; top: calc(var(--rb-cheader-h) + 20px); align-self: start; display: grid; gap: 14px; }
.rb-caside .rb-card { padding: 20px; }
.rb-cuser__row { display: flex; align-items: center; gap: 12px; }
.rb-cuser__row strong { font-size: 15px; }
.rb-cuser__avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 999px; overflow: hidden; background: var(--rb-accent); color: #fff; font-weight: 800; }
.rb-cuser__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rb-cuser__links { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border-top: 1px solid var(--rb-line); }
.rb-cuser__links a { padding: 12px 0 0; text-align: center; font-size: 13px; color: var(--rb-muted); }
.rb-cuser__links a:hover { color: var(--rb-text); }
.rb-cuser__guest { margin: 0 0 14px; color: var(--rb-muted); font-size: 13px; }
.rb-cuser__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rb-cuser__auth .rb-btn { height: 42px; }
.rb-caside__widgets > * { background: var(--rb-surface); border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 18px; margin-bottom: 14px; overflow: hidden; }
.rb-caside__links { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0 4px; font-size: 12px; color: var(--rb-muted); }
.rb-caside__links a:hover { color: var(--rb-text); }

.rb-mode-community .rb-footer { background: var(--rb-surface); border-top: 1px solid var(--rb-line); }
.rb-mode-community .rb-footer { padding: 32px 0 40px; }
.rb-footer .rb-container > :first-child { margin-top: 0; }
.rb-mode-community .rb-footer .rb-container { max-width: var(--rb-cmaxw); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
	.rb-gnb > ul { gap: 20px; }
}
@media (max-width: 1080px) {
	.rb-cbody { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
	.rb-cheader__inner { gap: 20px; }
}
@media (max-width: 960px) {
	.rb-cgnb { display: none; }
	.rb-cheader__menu { display: inline-flex; margin-left: -8px; }
	.rb-cheader__inner { gap: 6px; height: 58px; padding: 0 12px; }
	.rb-mode-community { --rb-cheader-h: 58px; }
	.rb-cbody { grid-template-columns: minmax(0, 1fr); }
	.rb-caside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
	.rb-gnb { display: none; }
	.rb-header__menu { display: inline-flex; }
	.rb-header__inner { gap: 8px; padding: 0 8px; height: 58px; }
	.rb-header .rb-logo { position: absolute; left: 50%; transform: translateX(-50%); font-size: 21px; }
	.rb-header__inner { position: relative; }
}
@media (max-width: 760px) {
	.rb-csub__inner { padding: 20px 16px 0; }
	.rb-csub h1 { margin-bottom: 14px; font-size: 21px; }
	.rb-csub__tabs { gap: 20px; }
	.rb-cbody { gap: 18px; padding: 14px 0 48px; }
	.rb-caside { padding: 0 14px; }
	.rb-hide-sm { display: none !important; }
	.rb-hero { height: 78vh; min-height: 460px; }
	.rb-hero__copy { bottom: 64px; }
	.rb-section { padding-top: 52px; }
	.rb-content { padding-top: 24px; }
	.rb-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
	.rb-footer__grid { grid-template-columns: 1fr; }
	.rb-header .rb-logo { font-size: 17px; letter-spacing: .02em; }
	.rb-cheader .rb-logo { font-size: 18px; letter-spacing: .02em; }
	.rb-cheader__login { padding: 0 12px; }
}
