/*
Theme Name: Rubyshop
Description: LUVEDEBELLE 커스텀 테마 — ecudemo400004(murmure) 1:1 정밀 이식. FluxShop/FluxBoard/FluxMember 연동.
Author: FastWeb
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rubyshop
*/

/* ===================================================================
   1. Fonts — 레퍼런스 engFont 정확 재현 (영문 Libre Baskerville / 숫자 Castoro)
   =================================================================== */
/* 영문/기호: Libre Baskerville */
@font-face {
	font-family: 'engFont';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('https://fonts.gstatic.com/s/librebaskerville/v14/kmKnZrc3Hgbbcjq75U4uslyuy4kn0qNZaxM.woff2') format('woff2');
	unicode-range: U+41-5A, U+61-7A, U+0-FF;
}
/* 숫자: Castoro */
@font-face {
	font-family: 'engFont';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('https://fonts.gstatic.com/s/castoro/v19/1q2GY5yMCld3-O4cLY9OzQ.woff2') format('woff2');
	unicode-range: U+30-39;
}

/* ===================================================================
   2. CSS Variables — 레퍼런스 실측 토큰
   =================================================================== */
:root {
	--rs-text: #333333;         /* --idio-font-color */
	--rs-black: #222222;        /* --idio-theme-color */
	--rs-ink: #000000;          /* 상품명 등 */
	--rs-white: #ffffff;
	--rs-bg: #f5f5f5;           /* --idio-bg-color (본문 배경) */
	--rs-bg2: #f9f9f9;          /* --idio-bg2-color (푸터/카드) */
	--rs-line: rgba(0,0,0,0.10);
	--rs-line-strong: rgba(0,0,0,0.16);
	--rs-dim: rgba(0,0,0,0.6);

	--rs-font-body: 'Roboto', 'Noto Sans KR', sans-serif;
	/* 영문 Libre Baskerville / 숫자 Castoro / 한글 Noto Serif KR 폴백 */
	--rs-font-eng: 'engFont', 'Libre Baskerville', 'Noto Serif KR', serif;

	--rs-container: 1920px;
	--rs-pad: 50px;
	--rs-header-h: 58px;
	--rs-announce-h: 32px;
	--rs-section-gap: 120px;
	--rs-ease: 0.3s ease;
}

/* ===================================================================
   3. Reset & Base
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--rs-font-body);
	font-size: 13px;
	line-height: 1.5;
	color: var(--rs-text);
	background: var(--rs-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
input, select, textarea { border: 1px solid var(--rs-line-strong); border-radius: 0; background: #fff; }
:focus-visible { outline: 1px solid var(--rs-black); outline-offset: 2px; }
.rs-eng { font-family: var(--rs-font-eng); }

.rs-inner {
	max-width: var(--rs-container);
	margin: 0 auto;
	padding-left: var(--rs-pad);
	padding-right: var(--rs-pad);
}

/* ===================================================================
   4. Announce bar (#topBnr) — 32px, 히어로 위 rgba(0,0,0,.4)
   =================================================================== */
.rs-announce {
	height: var(--rs-announce-h);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--rs-black);
	color: var(--rs-white);
	font-size: 13px;
	letter-spacing: 0.01em;
	text-align: center;
	padding: 0 var(--rs-pad);
	position: relative;
	z-index: 1001;
}
/* 홈: 히어로 위로 겹침 */
.rs-home .rs-announce {
	position: absolute;
	top: 0; left: 0; right: 0;
	background: rgba(0,0,0,0.4);
}

/* ===================================================================
   5. Header (#header) — 58px, 로고 중앙, 홈에서 투명
   =================================================================== */
.rs-header {
	height: var(--rs-header-h);
	background: var(--rs-white);
	border-bottom: 1px solid var(--rs-line);
	position: relative;
	z-index: 1000;
	transition: background var(--rs-ease), color var(--rs-ease), border-color var(--rs-ease);
}
.rs-header__inner {
	position: relative;
	height: 100%;
	max-width: var(--rs-container);
	margin: 0 auto;
	padding: 0 var(--rs-pad);
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.rs-header__left,
.rs-header__right { display: flex; align-items: center; }
.rs-header__left { gap: 22px; }
.rs-header__right { gap: 18px; }

.rs-iconbtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	color: inherit;
	font-size: 13px;
}
.rs-iconbtn svg { width: 19px; height: 19px; display: block; }
.rs-iconbtn__label { font-family: var(--rs-font-eng); font-size: 13px; letter-spacing: 0.01em; }

.rs-hamburger { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 18px; height: 14px; }
.rs-hamburger span { display: block; height: 1px; background: currentColor; transition: var(--rs-ease); }

/* 로고: 절대 중앙 배치 */
.rs-header__logo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-family: 'Libre Baskerville', 'Noto Serif KR', serif;
	font-style: italic;
	font-size: 22px;
	letter-spacing: 0.01em;
	line-height: 1;
	white-space: nowrap;
	color: inherit;
}

/* 홈: 헤더 투명 + 흰 글자, 히어로 위 */
.rs-home .rs-header {
	position: absolute;
	top: var(--rs-announce-h);
	left: 0; right: 0;
	background: transparent;
	border-bottom-color: transparent;
	color: var(--rs-white);
}
.rs-home .rs-header.is-solid {
	position: fixed;
	top: 0;
	background: var(--rs-white);
	color: var(--rs-text);
	border-bottom-color: var(--rs-line);
}
.rs-home .rs-header.is-solid + .rs-announce { }

/* ===================================================================
   6. Slide nav drawer (.nav) — 왼쪽 드로어
   =================================================================== */
.rs-nav { position: fixed; inset: 0; z-index: 2000; visibility: hidden; pointer-events: none; }
.rs-nav.is-open { visibility: visible; pointer-events: auto; }
.rs-nav__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); opacity: 0; transition: opacity var(--rs-ease); }
.rs-nav.is-open .rs-nav__overlay { opacity: 1; }
.rs-nav__panel {
	position: absolute; top: 0; left: 0; bottom: 0;
	width: min(380px, 88vw);
	background: var(--rs-white);
	padding: 30px 40px 40px;
	transform: translateX(-100%);
	transition: transform var(--rs-ease);
	overflow-y: auto;
}
.rs-nav.is-open .rs-nav__panel { transform: translateX(0); }
.rs-nav__close { position: absolute; top: 16px; right: 18px; width: 40px; height: 40px; font-size: 22px; line-height: 1; color: var(--rs-text); }
.rs-nav__list > li { position: relative; border-bottom: 1px solid var(--rs-line); }
.rs-nav__list > li > a {
	display: block;
	padding: 17px 40px 17px 0;
	font-family: var(--rs-font-eng);
	font-size: 17px;
	letter-spacing: 0.01em;
	color: var(--rs-black);
}
.rs-nav__caret { position: absolute; top: 8px; right: 0; width: 40px; height: 40px; color: var(--rs-text); }
.rs-nav__caret::before { content: '+'; display: block; text-align: center; font-size: 17px; font-weight: 300; }
.rs-nav__list > li.is-open > .rs-nav__caret::before { content: '\2212'; }
.rs-nav__list .sub-menu { max-height: 0; overflow: hidden; transition: max-height var(--rs-ease); }
.rs-nav__list > li.is-open .sub-menu { max-height: 900px; padding-bottom: 10px; }
.rs-nav__list .sub-menu a { display: block; padding: 9px 0 9px 14px; font-size: 13px; color: var(--rs-dim); }

/* ===================================================================
   6b. Search overlay (.schArea) — 상단 슬라이드다운 검색
   =================================================================== */
.rs-search { position: fixed; inset: 0; z-index: 2000; visibility: hidden; pointer-events: none; }
.rs-search.is-open { visibility: visible; pointer-events: auto; }
.rs-search__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); opacity: 0; transition: opacity var(--rs-ease); }
.rs-search.is-open .rs-search__overlay { opacity: 1; }
.rs-search__panel {
	position: absolute; top: 0; left: 0; right: 0;
	background: var(--rs-white);
	padding: 40px var(--rs-pad);
	display: flex; align-items: center; gap: 20px;
	transform: translateY(-100%);
	transition: transform var(--rs-ease);
}
.rs-search.is-open .rs-search__panel { transform: translateY(0); }
.rs-search__form { flex: 1; max-width: var(--rs-container); margin: 0 auto; display: flex; align-items: center; border-bottom: 1px solid var(--rs-black); }
.rs-search__input { flex: 1; border: none; background: transparent; height: 48px; font-family: var(--rs-font-eng); font-size: 20px; letter-spacing: 0.01em; }
.rs-search__input::placeholder { color: rgba(0,0,0,0.35); }
.rs-search__submit { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--rs-black); }
.rs-search__submit svg { width: 22px; height: 22px; }
.rs-search__close { position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; font-size: 24px; line-height: 1; color: var(--rs-text); }

/* ===================================================================
   7. Main / sections rhythm — 섹션 상하 120px, max-width 1920
   =================================================================== */
.rs-main { min-height: 40vh; }
.rs-section { max-width: var(--rs-container); margin: var(--rs-section-gap) auto; padding: 0 var(--rs-pad); }
.rs-main_title { text-align: center; margin-bottom: 40px; }
.rs-main_title h2,
.rs-main_title h3 {
	font-family: var(--rs-font-eng);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--rs-text);
}

/* view more 버튼 (.btn_more) */
.rs-btn_more {
	display: inline-block;
	font-family: var(--rs-font-eng);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.6;
	color: inherit;
}
.rs-btn_more.is-ul { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ===================================================================
   8. Hero (.mainBnr) — 풀스크린 슬라이더, 하단 좌측 오버레이
   =================================================================== */
.rs-hero { position: relative; height: 100vh; min-height: 520px; overflow: hidden; background: #d8d8d8; }
.rs-hero__slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: 0; transition: opacity 1s ease;
}
.rs-hero__slide.is-active { opacity: 1; }
.rs-hero__caption {
	position: absolute;
	left: var(--rs-pad);
	bottom: 80px;
	z-index: 3;
	color: var(--rs-white);
	text-align: left;
}
.rs-hero__eyebrow { font-family: var(--rs-font-eng); font-size: 16px; font-weight: 400; line-height: 1.45; margin-bottom: 6px; }
.rs-hero__title { font-family: var(--rs-font-eng); font-size: 30px; font-weight: 400; line-height: 1.2; margin-bottom: 16px; }
.rs-hero__more { font-family: var(--rs-font-eng); font-size: 9px; font-weight: 500; letter-spacing: 0.02em; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.rs-hero__dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; z-index: 3; color: #fff; font-family: var(--rs-font-eng); font-size: 12px; }
.rs-hero__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.45); }
.rs-hero__dot.is-active { background: #fff; }

/* ===================================================================
   9. Promo banners (.bnrArea2) — 2단 이미지
   =================================================================== */
.rs-promo { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
.rs-promo__item {
	position: relative;
	aspect-ratio: 4 / 3;
	background-size: cover; background-position: center;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	color: var(--rs-white); text-align: center;
}
.rs-promo__item::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.22); transition: background var(--rs-ease); }
.rs-promo__item:hover::after { background: rgba(0,0,0,0.32); }
.rs-promo__eyebrow, .rs-promo__title, .rs-promo__more { position: relative; z-index: 1; }
.rs-promo__eyebrow { font-family: var(--rs-font-eng); font-size: 13px; }
.rs-promo__title { font-family: var(--rs-font-eng); font-size: 26px; margin: 6px 0 12px; }
.rs-promo__more { font-family: var(--rs-font-eng); font-size: 9px; font-weight: 500; letter-spacing: 0.02em; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ===================================================================
   10. Lifestyle image grid (.bnrArea3)
   =================================================================== */
.rs-gallery { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
.rs-gallery__item { aspect-ratio: 1 / 1; background-size: cover; background-position: center; }

/* ===================================================================
   11. FluxShop — 상품 카드/목록/상세/장바구니/결제
   =================================================================== */
.rs-section .fluxshop,
.rs-page .fluxshop { max-width: 100%; }

/* 홈 Trending Now: 숏코드 자체 제목(추천 상품) 숨김 — rs-main_title 사용 */
.rs-trending .fhs-featured__head { display: none; }

/* 상품 그리드 */
.fluxshop-products.fluxshop-grid,
.fhs-shop-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 50px 24px !important;
}

/* 상품 카드 (.ec-base-product / fhs-mcard) */
.fluxshop-product-card,
.fhs-mcard { border: none; background: transparent; }
.fluxshop-product-card__image-link,
.fhs-mcard__thumb,
.fhs-mcard__media {
	display: block; position: relative;
	aspect-ratio: 1 / 1;
	background: var(--rs-bg2);
	overflow: hidden;
	margin-bottom: 14px;
}
.fluxshop-product-card__image,
.fhs-mcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.fluxshop-product-card:hover .fluxshop-product-card__image,
.fhs-mcard:hover .fhs-mcard__thumb img { transform: scale(1.03); }
.fhs-mcard__body { border-top: none; padding: 0; text-align: center; }
.fhs-mcard__brand { font-family: var(--rs-font-body); font-size: 11px; color: var(--rs-dim); margin-bottom: 4px; }
.fhs-mcard__name {
	font-family: var(--rs-font-eng);
	font-size: 15px; font-weight: 400;
	color: var(--rs-ink);
	margin: 2px 0 6px;
	line-height: 1.4;
}
.fhs-mcard__price { font-family: var(--rs-font-body); font-size: 13px; font-weight: 400; color: var(--rs-text); }
.fhs-mcard__price .fhs-mcard__discount { color: #e2402a; margin-right: 4px; }
.fhs-mcard__meta { margin-top: 6px; font-size: 11px; color: var(--rs-dim); display: flex; gap: 10px; justify-content: center; }
/* 컬러 칩 */
.fhs-mcard__colors, .fhs-mcard__chips { display: flex; gap: 5px; justify-content: center; margin-top: 8px; }
.fhs-mcard__chip { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--rs-line); }
/* 담기 버튼 */
.fhs-mcard__cart, .fhs-add-to-cart {
	width: 100%; min-height: 42px; margin-top: 12px;
	border: 1px solid var(--rs-black); background: transparent; color: var(--rs-black);
	font-family: var(--rs-font-eng); font-size: 12px; letter-spacing: 0.02em;
	transition: background var(--rs-ease), color var(--rs-ease);
}
.fhs-mcard__cart:hover, .fhs-add-to-cart:hover { background: var(--rs-black); color: var(--rs-white); }

/* 목록 상단 필터/툴바 */
.fhs-shop { max-width: var(--rs-container); margin: 0 auto; }
.fhs-cat-tabs, .fhs-chip-row, .fhs-filterbar { border-color: var(--rs-line); }
.fhs-cat-tab { font-family: var(--rs-font-eng); font-size: 14px; color: var(--rs-dim); }
.fhs-cat-tab.is-active { color: var(--rs-black); border-color: var(--rs-black); }
.fhs-loop-toolbar { border-bottom: 1px solid var(--rs-line); padding-bottom: 12px; margin-bottom: 24px; }
.fhs-loop-count { font-size: 12px; color: var(--rs-dim); }
.fhs-sort-select { border: none; font-size: 12px; background: transparent; }

/* 페이지네이션 */
.fhs-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 60px; }
.fhs-page-num, .fhs-page-btn { min-width: 34px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--rs-font-eng); font-size: 13px; color: var(--rs-dim); }
.fhs-page-num.active { color: var(--rs-black); text-decoration: underline; text-underline-offset: 4px; }

/* 상품 상세 */
.fhs-pdp__top { display: flex; gap: 60px; align-items: flex-start; }
.fhs-pdp__left { flex: 1.25; min-width: 0; }
.fhs-pdp__right { flex: 1; position: sticky; top: calc(var(--rs-header-h) + 20px); }

/* 상품 상세 갤러리 — 메인 이미지 크게 (plugin grid 깨짐 오버라이드) */
.fhs-pdp__left .fhs-gallery { display: block !important; }
.fhs-gallery__stage { width: 100%; background: var(--rs-bg2); overflow: hidden; }
.fhs-gallery__main { width: 100% !important; height: auto !important; display: block; object-fit: cover; }
.fhs-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.fhs-gallery__thumbs img, .fhs-gallery__thumb { width: 72px; height: 72px; object-fit: cover; background: var(--rs-bg2); cursor: pointer; }
.fhs-gallery__share { display: flex; justify-content: flex-end; padding: 12px 0; }
.fhs-sidebar__brand { font-size: 12px; color: var(--rs-dim); }
.fhs-sidebar__name { font-family: var(--rs-font-eng); font-size: 26px; font-weight: 400; margin: 8px 0 6px; }
.fluxshop-product-detail__price, .fhs-sidebar__price { font-family: var(--rs-font-body); font-size: 20px; margin: 16px 0; }
.fhs-sidebar__facts { font-size: 13px; color: var(--rs-dim); }

/* 버튼 시스템 */
.fluxshop-btn {
	min-height: 52px; border-radius: 0;
	font-family: var(--rs-font-eng); font-size: 13px; letter-spacing: 0.02em;
	border: 1px solid var(--rs-black); transition: opacity var(--rs-ease);
}
.fluxshop-btn:hover { opacity: 0.85; }
.fluxshop-btn--buy, .fluxshop-btn--primary { background: var(--rs-black); color: var(--rs-white); }
.fluxshop-btn--cart { background: transparent; color: var(--rs-black); }

/* 장바구니 */
.fluxshop-cart__empty { text-align: center; padding: 90px 0; color: var(--rs-dim); }
.fhs-cart-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--rs-line); margin-bottom: 24px; }
.fhs-cart-tab { padding: 12px 0; font-size: 13px; border-bottom: 2px solid transparent; color: var(--rs-dim); }
.fhs-cart-tab.is-active { border-color: var(--rs-black); color: var(--rs-black); }
.fhs-cart-row { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rs-line); }
.fhs-cart-row__thumb img { width: 84px; height: 84px; object-fit: cover; background: var(--rs-bg2); }
.fhs-cart-row__name { font-family: var(--rs-font-eng); font-size: 14px; }
.fhs-cart-row__opt, .fhs-cart-row__unit { font-size: 12px; color: var(--rs-dim); }
.fhs-cart-summary { background: var(--rs-bg2); padding: 24px; }
.fhs-cart-summary__total { font-size: 18px; border-top: 1px solid var(--rs-line); padding-top: 12px; margin-top: 12px; }

/* 결제 */
.fhs-checkout-section { border-bottom: 1px solid var(--rs-line); padding: 24px 0; }
.fhs-section-title { font-family: var(--rs-font-eng); font-size: 18px; margin-bottom: 16px; }
.fhs-order-summary { background: var(--rs-bg2); padding: 24px; }
.fhs-total-row--final { font-size: 17px; border-top: 1px solid var(--rs-line); padding-top: 12px; }

/* ===================================================================
   12. FluxBoard — 게시판
   =================================================================== */
.fluxboard-board { font-size: 13px; }
.fluxboard-board__header-title { font-family: var(--rs-font-eng); font-size: 24px; text-align: center; padding: 20px 0; }
.fluxboard-board__header-subtitle { text-align: center; color: var(--rs-dim); font-size: 13px; margin: -8px 0 24px; }
.fluxboard-board table, .fluxboard-board__list { border-top: 1px solid var(--rs-black); }
.fluxboard-board__subject-link { color: var(--rs-text); }
.fluxboard-board__subject-link:hover { text-decoration: underline; }
.fluxboard-board-view__content { padding: 32px 0; line-height: 1.9; }

/* ===================================================================
   13. FluxMember — 로그인/가입/마이페이지
   =================================================================== */
.fluxmember-auth { max-width: 400px; margin: 0 auto; padding: 40px 0; }
.fluxmember-auth__title { font-family: var(--rs-font-eng); font-size: 24px; text-align: center; margin-bottom: 32px; }
.fluxmember-form__group { margin-bottom: 16px; }
.fluxmember-form__label { display: block; font-size: 12px; color: var(--rs-dim); margin-bottom: 6px; }
.fluxmember-form__input { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--rs-line-strong); }
.fluxmember-btn { width: 100%; min-height: 50px; background: var(--rs-black); color: var(--rs-white); border: 1px solid var(--rs-black); font-family: var(--rs-font-eng); letter-spacing: 0.02em; }
.fluxmember-link { color: var(--rs-dim); text-decoration: underline; text-underline-offset: 3px; }

/* 마이페이지 — 파란 강조색을 테마 흑백으로 통일 */
.fluxmember-mypage__menu-item > a { color: var(--rs-text); }
.fluxmember-mypage__menu-item > a:hover { color: var(--rs-black); }
.fluxmember-mypage__menu-item.is-active > a {
	color: var(--rs-black) !important;
	background: var(--rs-bg2) !important;
	border-left-color: var(--rs-black) !important;
	font-weight: 500;
}
.fluxmember-mypage__menu-item.is-active .dashicons,
.fluxmember-mypage__menu-item.is-active span { color: var(--rs-black) !important; }
.fluxmember-mypage__nav,
.fluxmember-mypage__sidebar { border-color: var(--rs-line); }
.fluxmember-mypage a { color: var(--rs-text); }
.fluxmember-mypage a:hover { color: var(--rs-black); }
/* 파란 링크/버튼/뱃지 전반 중화 */
.fluxmember-mypage [style*="rgb(37, 99, 235)"],
.fluxmember-mypage [style*="#2563eb"] { color: var(--rs-black) !important; border-color: var(--rs-black) !important; }
.fluxmember-mypage__section-title,
.fluxmember-mypage h2, .fluxmember-mypage h3 { font-family: var(--rs-font-eng); }
/* FluxShop 마이페이지 탭 */
.fhs-account__nav a, .fhs-account__tab { color: var(--rs-text); }
.fhs-account__nav a.is-active, .fhs-account__tab.is-active { color: var(--rs-black); border-color: var(--rs-black); }

/* ===================================================================
   14. 일반 페이지
   =================================================================== */
.rs-page { max-width: var(--rs-container); margin: 0 auto; padding: 60px var(--rs-pad) var(--rs-section-gap); }
.rs-page__header { text-align: center; margin-bottom: 48px; }
.rs-page__title { font-family: var(--rs-font-eng); font-size: 30px; font-weight: 400; letter-spacing: 0.01em; }
.rs-empty { text-align: center; color: var(--rs-dim); padding: 80px 0; }
.rs-blog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 24px; }
.rs-blog__thumb { display: block; aspect-ratio: 3 / 4; background: var(--rs-bg2); overflow: hidden; margin-bottom: 14px; }
.rs-blog__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rs-blog__card-title { font-family: var(--rs-font-eng); font-size: 15px; margin-bottom: 6px; }
.rs-blog__excerpt { font-size: 12px; color: var(--rs-dim); line-height: 1.6; }

/* ===================================================================
   15. Footer (#footer) — bg #f9f9f9, padding 46px 50px, 4단
   =================================================================== */
.rs-footer { background: var(--rs-bg2); margin-top: var(--rs-section-gap); }
.rs-footer__inner {
	max-width: var(--rs-container);
	margin: 0 auto;
	padding: 46px var(--rs-pad);
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
}
.rs-footer__logo { font-family: 'Libre Baskerville', 'Noto Serif KR', serif; font-style: italic; font-size: 20px; display: inline-block; margin-bottom: 18px; }
.rs-footer__biz { font-size: 12px; color: var(--rs-dim); line-height: 1.9; }
.rs-footer__biz li span { display: inline-block; min-width: 92px; color: rgba(0,0,0,0.4); }
.rs-footer__heading { font-family: var(--rs-font-eng); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(0,0,0,0.4); margin-bottom: 16px; }
.rs-footer__nav li { margin-bottom: 10px; }
.rs-footer__nav a { font-size: 13px; color: var(--rs-text); }
.rs-footer__nav a:hover { text-decoration: underline; }
.rs-footer__tel { font-family: var(--rs-font-eng); font-size: 22px; margin-bottom: 8px; }
.rs-footer__hours { font-size: 12px; color: var(--rs-dim); margin-bottom: 16px; }
.rs-footer__sns { display: flex; gap: 8px; }
.rs-footer__sns a {
	width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
	border-radius: 50%; background: #ddd; opacity: 0.5; font-size: 10px; letter-spacing: 0.04em;
	transition: opacity var(--rs-ease);
}
.rs-footer__sns a:hover { opacity: 0.75; }
.rs-footer__bottom { }
.rs-footer__bottom-inner { max-width: var(--rs-container); margin: 0 auto; padding: 16px var(--rs-pad); border-top: 1px solid var(--rs-line); text-align: center; font-size: 11px; color: rgba(0,0,0,0.4); }

/* ===================================================================
   16. Responsive — 레퍼런스 패딩 브레이크포인트 (50→35→24→15)
   =================================================================== */
@media (max-width: 1400px) {
	:root { --rs-pad: 35px; }
	.rs-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
	.rs-footer__cs { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
	:root { --rs-pad: 24px; --rs-section-gap: 80px; }
	.fluxshop-products.fluxshop-grid, .fhs-shop-grid { grid-template-columns: repeat(3, 1fr) !important; }
	.rs-gallery { grid-template-columns: repeat(2, 1fr); }
	.rs-blog__grid { grid-template-columns: repeat(3, 1fr); }
	.fhs-pdp__right { position: static; }
	.rs-header__left { gap: 16px; }
}
@media (max-width: 768px) {
	:root { --rs-pad: 24px; }
	.rs-iconbtn__label { display: none; }
	.rs-header__logo { font-size: 20px; }
	.rs-hero { height: 88vh; }
	.rs-hero__title { font-size: 26px; }
	.rs-promo { grid-template-columns: 1fr; }
	.fluxshop-products.fluxshop-grid, .fhs-shop-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 32px 16px !important; }
	.rs-blog__grid { grid-template-columns: repeat(2, 1fr); }
	.fhs-pdp__top { flex-direction: column; }
	.rs-footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
	.rs-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	:root { --rs-pad: 15px; --rs-section-gap: 64px; }
	.rs-hero__caption { left: 15px; bottom: 56px; }
	.rs-hero__title { font-size: 22px; }
	.rs-main_title h2, .rs-main_title h3 { font-size: 20px; }
	.rs-gallery { grid-template-columns: repeat(2, 1fr); }
	.fluxshop-products.fluxshop-grid, .fhs-shop-grid { gap: 24px 12px !important; }
	.rs-footer__inner { grid-template-columns: 1fr; }
	.rs-footer__biz li span { min-width: 84px; }
}
