@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

/* ===================
   FluxShop Frontend CSS
   =================== */

/* ===================
   0. 폰트/서피스 통일 — 모든 플러그인 페이지(.fluxshop)에 Pretendard 적용
   =================== */
.fluxshop, .fhs-account, .fhs-mypage, .fhs-cart-drawer {
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", system-ui, sans-serif !important;
	color: #111;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.fluxshop *, .fhs-account *, .fhs-mypage *, .fhs-cart-drawer * { box-sizing: border-box; }
.fluxshop button, .fluxshop input, .fluxshop select, .fluxshop textarea,
.fhs-account button, .fhs-account input, .fhs-account select, .fhs-account textarea { font-family: inherit; }

/* ===================
   1. CSS Variables
   =================== */
:root {
	--fhs-primary:       #3B82F6;
	--fhs-primary-dark:  #2563EB;
	--fhs-secondary:     #6B7280;
	--fhs-success:       #10B981;
	--fhs-warning:       #F59E0B;
	--fhs-danger:        #EF4444;
	--fhs-kakao:         #FEE500;
	--fhs-kakao-text:    #000000;
	--fhs-naver:         #03C75A;
	--fhs-naver-text:    #FFFFFF;

	--fhs-text:          #111827;
	--fhs-text-muted:    #6B7280;
	--fhs-border:        #E5E7EB;
	--fhs-bg:            #F9FAFB;
	--fhs-white:         #FFFFFF;
	--fhs-radius:        8px;
	--fhs-radius-lg:     12px;
	--fhs-shadow:        0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
	--fhs-shadow-md:     0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
	--fhs-transition:    .2s ease;
}

/* ===================
   2. Reset & Base
   =================== */
.fhs-wrap,
.fhs-wrap * {
	box-sizing: border-box;
}
.fhs-wrap img {
	max-width: 100%;
	height: auto;
}
.fhs-wrap a {
	color: var(--fhs-primary);
	text-decoration: none;
}
.fhs-wrap a:hover {
	text-decoration: underline;
}
.fhs-empty {
	color: var(--fhs-text-muted);
	text-align: center;
	padding: 48px 0;
	font-size: 15px;
}

/* ===================
   3. Layout — Product List
   =================== */
.fhs-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
}
.fhs-product-card {
	background: var(--fhs-white);
	border: 1px solid var(--fhs-border);
	border-radius: var(--fhs-radius-lg);
	overflow: hidden;
	transition: box-shadow var(--fhs-transition), transform var(--fhs-transition);
}
.fhs-product-card:hover {
	box-shadow: var(--fhs-shadow-md);
	transform: translateY(-2px);
}
.fhs-product-card__thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--fhs-bg);
}
.fhs-product-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}
.fhs-product-card:hover .fhs-product-card__thumb img {
	transform: scale(1.04);
}
.fhs-product-card__body {
	padding: 14px 16px 18px;
}
.fhs-product-card__name {
	font-size: 14px;
	font-weight: 600;
	color: var(--fhs-text);
	margin: 0 0 8px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.fhs-product-card__price {
	font-size: 16px;
	font-weight: 700;
	color: var(--fhs-text);
}
.fhs-product-card__price-original {
	font-size: 13px;
	color: var(--fhs-text-muted);
	text-decoration: line-through;
	margin-left: 4px;
}
.fhs-product-card__badge {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 20px;
	margin-top: 8px;
}
.fhs-product-card__badge--sale {
	background: #FEE2E2;
	color: var(--fhs-danger);
}
.fhs-product-card__badge--sub {
	background: #EDE9FE;
	color: #7C3AED;
}
.fhs-wishlist-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	background: var(--fhs-white);
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--fhs-shadow);
	transition: background var(--fhs-transition);
	font-size: 16px;
	line-height: 1;
}
.fhs-wishlist-btn:hover,
.fhs-wishlist-btn.active {
	background: #FEE2E2;
	color: var(--fhs-danger);
}

/* Category filter */
.fhs-category-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}
.fhs-category-filter a {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 20px;
	border: 1px solid var(--fhs-border);
	font-size: 13px;
	color: var(--fhs-text-muted);
	transition: all var(--fhs-transition);
}
.fhs-category-filter a:hover,
.fhs-category-filter a.active {
	background: var(--fhs-primary);
	border-color: var(--fhs-primary);
	color: var(--fhs-white);
	text-decoration: none;
}

/* ===================
   4. Product Detail
   =================== */
.fhs-product-detail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}
.fhs-product-gallery {
	position: sticky;
	top: 80px;
}
.fhs-product-gallery__main {
	aspect-ratio: 1 / 1;
	border-radius: var(--fhs-radius-lg);
	overflow: hidden;
	background: var(--fhs-bg);
	margin-bottom: 12px;
}
.fhs-product-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.fhs-product-gallery__thumbs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.fhs-product-gallery__thumb {
	width: 72px;
	height: 72px;
	border-radius: 6px;
	overflow: hidden;
	border: 2px solid transparent;
	cursor: pointer;
	transition: border-color var(--fhs-transition);
}
.fhs-product-gallery__thumb.active,
.fhs-product-gallery__thumb:hover {
	border-color: var(--fhs-primary);
}
.fhs-product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Info panel */
.fhs-product-info__name {
	font-size: 24px;
	font-weight: 700;
	color: var(--fhs-text);
	margin: 0 0 12px;
	line-height: 1.3;
}
.fhs-product-info__price-wrap {
	margin-bottom: 20px;
}
.fhs-product-info__price {
	font-size: 28px;
	font-weight: 700;
	color: var(--fhs-text);
}
.fhs-product-info__price-original {
	font-size: 16px;
	color: var(--fhs-text-muted);
	text-decoration: line-through;
	margin-left: 6px;
}
.fhs-product-info__discount-rate {
	font-size: 20px;
	font-weight: 700;
	color: var(--fhs-danger);
	margin-left: 8px;
}
.fhs-product-info__meta {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 12px 0;
	font-size: 14px;
	padding: 20px 0;
	border-top: 1px solid var(--fhs-border);
	border-bottom: 1px solid var(--fhs-border);
	margin-bottom: 20px;
}
.fhs-product-info__meta-label {
	color: var(--fhs-text-muted);
	align-self: start;
	padding-top: 2px;
}
.fhs-product-info__meta-value {
	color: var(--fhs-text);
}

/* Variants */
.fhs-product-variants {
	margin-bottom: 20px;
}
.fhs-product-variants__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--fhs-text);
	margin-bottom: 8px;
}
.fhs-product-variants select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--fhs-border);
	border-radius: var(--fhs-radius);
	font-size: 14px;
	color: var(--fhs-text);
	background: var(--fhs-white);
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

/* Qty + add to cart */
.fhs-product-buy {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.fhs-qty-wrap {
	display: flex;
	align-items: center;
	border: 1px solid var(--fhs-border);
	border-radius: var(--fhs-radius);
	overflow: hidden;
	width: fit-content;
}
.fhs-qty-btn {
	width: 40px;
	height: 40px;
	border: none;
	background: var(--fhs-bg);
	font-size: 18px;
	cursor: pointer;
	color: var(--fhs-text);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--fhs-transition);
}
.fhs-qty-btn:hover {
	background: var(--fhs-border);
}
.fhs-qty-input {
	width: 56px;
	height: 40px;
	border: none;
	border-left: 1px solid var(--fhs-border);
	border-right: 1px solid var(--fhs-border);
	text-align: center;
	font-size: 15px;
	font-weight: 600;
}
.fhs-product-buy-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

/* Instant buy buttons */
.fhs-instant-buy-wrap {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
}
.fhs-btn-kakaopay {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 13px;
	background: var(--fhs-kakao);
	color: var(--fhs-kakao-text);
	border: none;
	border-radius: var(--fhs-radius);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: filter var(--fhs-transition);
}
.fhs-btn-kakaopay:hover {
	filter: brightness(.94);
}
.fhs-btn-naverpay {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 13px;
	background: var(--fhs-naver);
	color: var(--fhs-naver-text);
	border: none;
	border-radius: var(--fhs-radius);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: filter var(--fhs-transition);
}
.fhs-btn-naverpay:hover {
	filter: brightness(.92);
}

/* Product tabs */
.fhs-product-tabs {
	margin-top: 60px;
	border-top: 2px solid var(--fhs-text);
}
.fhs-product-tabs__nav {
	display: flex;
	gap: 0;
	border-bottom: 1px solid var(--fhs-border);
	margin-bottom: 32px;
}
.fhs-product-tabs__nav button {
	padding: 16px 24px;
	border: none;
	background: none;
	font-size: 15px;
	font-weight: 600;
	color: var(--fhs-text-muted);
	cursor: pointer;
	border-bottom: 3px solid transparent;
	transition: all var(--fhs-transition);
}
.fhs-product-tabs__nav button.active,
.fhs-product-tabs__nav button:hover {
	color: var(--fhs-text);
}
.fhs-product-tabs__nav button.active {
	border-bottom-color: var(--fhs-primary);
}
.fhs-product-tabs__panel {
	display: none;
}
.fhs-product-tabs__panel.active {
	display: block;
}

/* ===================
   5. Cart
   =================== */
.fhs-cart-wrap {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 32px;
	align-items: start;
}
.fhs-cart-table {
	width: 100%;
	border-collapse: collapse;
}
.fhs-cart-table th,
.fhs-cart-table td {
	padding: 16px 12px;
	text-align: left;
	font-size: 14px;
}
.fhs-cart-table th {
	border-bottom: 2px solid var(--fhs-text);
	font-weight: 600;
}
.fhs-cart-table td {
	border-bottom: 1px solid var(--fhs-border);
	vertical-align: middle;
}
.fhs-cart-product {
	display: flex;
	align-items: center;
	gap: 14px;
}
.fhs-cart-product__thumb {
	width: 72px;
	height: 72px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--fhs-bg);
	flex-shrink: 0;
}
.fhs-cart-product__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fhs-cart-product__name {
	font-size: 14px;
	font-weight: 500;
	color: var(--fhs-text);
}
.fhs-cart-product__variant {
	font-size: 12px;
	color: var(--fhs-text-muted);
	margin-top: 4px;
}
.fhs-cart-qty {
	display: flex;
	align-items: center;
	gap: 6px;
}
.fhs-cart-qty input {
	width: 56px;
	padding: 6px;
	border: 1px solid var(--fhs-border);
	border-radius: 6px;
	text-align: center;
	font-size: 14px;
}
.fhs-cart-remove {
	background: none;
	border: none;
	color: var(--fhs-text-muted);
	cursor: pointer;
	font-size: 18px;
	padding: 4px;
	transition: color var(--fhs-transition);
}
.fhs-cart-remove:hover {
	color: var(--fhs-danger);
}

/* Cart summary */
.fhs-cart-summary {
	background: var(--fhs-bg);
	border: 1px solid var(--fhs-border);
	border-radius: var(--fhs-radius-lg);
	padding: 24px;
	position: sticky;
	top: 80px;
}
.fhs-cart-summary h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 20px;
}
.fhs-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	padding: 8px 0;
}
.fhs-summary-row--total {
	border-top: 2px solid var(--fhs-text);
	margin-top: 8px;
	padding-top: 16px;
	font-size: 17px;
	font-weight: 700;
}
.fhs-summary-row__discount {
	color: var(--fhs-danger);
}
.fhs-coupon-form {
	display: flex;
	gap: 8px;
	margin: 16px 0;
}
.fhs-coupon-form input {
	flex: 1;
	padding: 9px 12px;
	border: 1px solid var(--fhs-border);
	border-radius: 6px;
	font-size: 13px;
}

/* ===================
   6. Checkout
   =================== */
.fhs-checkout-wrap {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 32px;
	align-items: start;
}
.fhs-checkout-section {
	background: var(--fhs-white);
	border: 1px solid var(--fhs-border);
	border-radius: var(--fhs-radius-lg);
	padding: 28px;
	margin-bottom: 20px;
}
.fhs-checkout-section h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--fhs-border);
}
.fhs-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.fhs-form-grid--full {
	grid-column: 1 / -1;
}
.fhs-form-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.fhs-form-row label {
	font-size: 13px;
	font-weight: 600;
	color: var(--fhs-text);
}
.fhs-form-row label .required {
	color: var(--fhs-danger);
	margin-left: 2px;
}
.fhs-form-row input[type="text"],
.fhs-form-row input[type="tel"],
.fhs-form-row input[type="email"],
.fhs-form-row select,
.fhs-form-row textarea {
	padding: 10px 12px;
	border: 1px solid var(--fhs-border);
	border-radius: var(--fhs-radius);
	font-size: 14px;
	color: var(--fhs-text);
	background: var(--fhs-white);
	width: 100%;
	transition: border-color var(--fhs-transition);
}
.fhs-form-row input:focus,
.fhs-form-row select:focus,
.fhs-form-row textarea:focus {
	outline: none;
	border-color: var(--fhs-primary);
	box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.fhs-form-row input[readonly] {
	background: var(--fhs-bg);
	color: var(--fhs-text-muted);
}
.fhs-address-search {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
}
.fhs-address-search input {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid var(--fhs-border);
	border-radius: var(--fhs-radius);
	font-size: 14px;
}

/* PG selector */
.fhs-pg-selector {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.fhs-pg-option {
	flex: 1;
	min-width: 120px;
}
.fhs-pg-option input[type="radio"] {
	display: none;
}
.fhs-pg-option label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px;
	border: 2px solid var(--fhs-border);
	border-radius: var(--fhs-radius);
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	transition: all var(--fhs-transition);
}
.fhs-pg-option input:checked + label {
	border-color: var(--fhs-primary);
	background: rgba(59,130,246,.05);
	color: var(--fhs-primary);
}
.fhs-pg-option label:hover {
	border-color: var(--fhs-primary);
}

/* Points input */
.fhs-points-input-wrap {
	display: flex;
	gap: 8px;
	align-items: center;
}
.fhs-points-input-wrap input {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid var(--fhs-border);
	border-radius: var(--fhs-radius);
	font-size: 14px;
}
.fhs-points-balance-text {
	font-size: 12px;
	color: var(--fhs-text-muted);
	margin-top: 6px;
}

/* Checkout summary */
.fhs-checkout-summary {
	background: var(--fhs-bg);
	border: 1px solid var(--fhs-border);
	border-radius: var(--fhs-radius-lg);
	padding: 24px;
	position: sticky;
	top: 80px;
}
.fhs-checkout-summary h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 20px;
}
.fhs-shipping-notice {
	font-size: 12px;
	color: var(--fhs-danger);
	margin-top: 4px;
}

/* ===================
   7. Order Complete
   =================== */
.fhs-order-complete {
	max-width: 560px;
	margin: 60px auto;
	text-align: center;
}
.fhs-order-complete__icon {
	width: 80px;
	height: 80px;
	background: #D1FAE5;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	margin: 0 auto 24px;
}
.fhs-order-complete h2 {
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 8px;
}
.fhs-order-complete__sub {
	color: var(--fhs-text-muted);
	font-size: 15px;
	margin-bottom: 32px;
}
.fhs-order-detail-box {
	background: var(--fhs-bg);
	border: 1px solid var(--fhs-border);
	border-radius: var(--fhs-radius-lg);
	padding: 24px;
	text-align: left;
}
.fhs-order-detail-box dl {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 10px 0;
	margin: 0;
}
.fhs-order-detail-box dt {
	font-size: 13px;
	color: var(--fhs-text-muted);
	padding: 2px 0;
}
.fhs-order-detail-box dd {
	font-size: 14px;
	font-weight: 500;
	margin: 0;
}

/* ===================
   8. Pricing Table
   =================== */
.fhs-pricing-table {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}
.fhs-pricing-card {
	background: var(--fhs-white);
	border: 2px solid var(--fhs-border);
	border-radius: var(--fhs-radius-lg);
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	transition: border-color var(--fhs-transition), box-shadow var(--fhs-transition);
}
.fhs-pricing-card--featured {
	border-color: var(--fhs-primary);
	box-shadow: 0 0 0 4px rgba(59,130,246,.10);
}
.fhs-pricing-card__badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	background: var(--fhs-primary);
	color: var(--fhs-white);
	border-radius: 20px;
	margin-bottom: 16px;
	width: fit-content;
}
.fhs-pricing-card__name {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 6px;
}
.fhs-pricing-card__desc {
	font-size: 13px;
	color: var(--fhs-text-muted);
	margin-bottom: 20px;
}
.fhs-pricing-card__price {
	font-size: 36px;
	font-weight: 800;
	margin-bottom: 4px;
}
.fhs-pricing-card__price sub {
	font-size: 16px;
	font-weight: 500;
	vertical-align: baseline;
}
.fhs-pricing-card__period {
	font-size: 13px;
	color: var(--fhs-text-muted);
	margin-bottom: 24px;
}
.fhs-pricing-card__features {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	flex: 1;
}
.fhs-pricing-card__features li {
	padding: 8px 0;
	font-size: 14px;
	border-bottom: 1px solid var(--fhs-border);
	display: flex;
	align-items: center;
	gap: 8px;
}
.fhs-pricing-card__features li:last-child {
	border-bottom: none;
}
.fhs-pricing-card__features .check {
	color: var(--fhs-success);
	font-weight: 700;
}

/* ===================
   9. Shared Components
   =================== */

/* Buttons */
.fhs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 11px 20px;
	border-radius: var(--fhs-radius);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all var(--fhs-transition);
	line-height: 1;
	text-decoration: none;
}
.fhs-btn:hover {
	text-decoration: none;
}
.fhs-btn--primary {
	background: var(--fhs-primary);
	color: var(--fhs-white);
}
.fhs-btn--primary:hover {
	background: var(--fhs-primary-dark);
}
.fhs-btn--outline {
	background: var(--fhs-white);
	color: var(--fhs-text);
	border: 1px solid var(--fhs-border);
}
.fhs-btn--outline:hover {
	border-color: var(--fhs-text);
}
.fhs-btn--lg {
	padding: 14px 28px;
	font-size: 16px;
}
.fhs-btn--full {
	width: 100%;
}
.fhs-btn--danger {
	background: var(--fhs-danger);
	color: var(--fhs-white);
}
.fhs-btn--danger:hover {
	filter: brightness(.9);
}
.fhs-btn:disabled,
.fhs-btn[disabled] {
	opacity: .55;
	cursor: not-allowed;
}
.fhs-btn .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* Badges */
.fhs-badge {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 20px;
}
.fhs-badge--pending_payment { background: #FEF3C7; color: #92400E; }
.fhs-badge--paid            { background: #D1FAE5; color: #065F46; }
.fhs-badge--processing      { background: #DBEAFE; color: #1E40AF; }
.fhs-badge--shipped         { background: #EDE9FE; color: #5B21B6; }
.fhs-badge--completed       { background: #D1FAE5; color: #065F46; }
.fhs-badge--cancelled       { background: #F3F4F6; color: #6B7280; }
.fhs-badge--refunded        { background: #FEE2E2; color: #991B1B; }
.fhs-badge--failed          { background: #FEE2E2; color: #991B1B; }
.fhs-badge--active          { background: #D1FAE5; color: #065F46; }
.fhs-badge--paused          { background: #FEF3C7; color: #92400E; }
.fhs-badge--expired         { background: #F3F4F6; color: #6B7280; }

/* Tables (generic) */
.fhs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.fhs-table th,
.fhs-table td {
	padding: 12px 14px;
	text-align: left;
}
.fhs-table th {
	border-bottom: 2px solid var(--fhs-text);
	font-weight: 600;
	background: var(--fhs-bg);
}
.fhs-table td {
	border-bottom: 1px solid var(--fhs-border);
}
.fhs-table tr:last-child td {
	border-bottom: none;
}

/* Loading spinner */
.fhs-loading {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: fhs-spin .6s linear infinite;
	vertical-align: middle;
}
@keyframes fhs-spin {
	to { transform: rotate(360deg); }
}
.fhs-btn--loading .fhs-loading {
	display: inline-block;
}

/* Toast notifications */
#fhs-toast-container {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.fhs-toast {
	min-width: 280px;
	padding: 14px 18px;
	border-radius: var(--fhs-radius);
	box-shadow: var(--fhs-shadow-md);
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 10px;
	animation: fhs-toast-in .2s ease;
}
.fhs-toast--success { background: #065F46; color: #fff; }
.fhs-toast--error   { background: #991B1B; color: #fff; }
.fhs-toast--info    { background: #1E40AF; color: #fff; }
@keyframes fhs-toast-in {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* MyPage sections */
.fhs-mypage-section {
	padding: 8px 0;
}
.fhs-mypage-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 20px;
}
.fhs-mypage-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.fhs-mypage-table th,
.fhs-mypage-table td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid var(--fhs-border);
}
.fhs-mypage-table th {
	font-weight: 600;
	background: var(--fhs-bg);
}
.fhs-link {
	color: var(--fhs-primary);
	font-size: 13px;
}

/* Coupon cards */
.fhs-coupon-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}
.fhs-coupon-card {
	background: var(--fhs-white);
	border: 1px solid var(--fhs-border);
	border-radius: var(--fhs-radius-lg);
	overflow: hidden;
	display: flex;
	border-left: 4px solid var(--fhs-primary);
}
.fhs-coupon-card--expired {
	border-left-color: var(--fhs-border);
	opacity: .65;
}
.fhs-coupon-card__amount {
	background: var(--fhs-primary);
	color: var(--fhs-white);
	font-size: 22px;
	font-weight: 800;
	padding: 20px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 90px;
}
.fhs-coupon-card--expired .fhs-coupon-card__amount {
	background: var(--fhs-border);
	color: var(--fhs-text-muted);
}
.fhs-coupon-card__info {
	padding: 16px;
}
.fhs-coupon-card__info strong {
	font-size: 15px;
	display: block;
	margin-bottom: 4px;
}
.fhs-coupon-code {
	font-family: monospace;
	font-size: 12px;
	background: var(--fhs-bg);
	padding: 2px 6px;
	border-radius: 4px;
	display: inline-block;
	margin: 0 0 4px;
}
.fhs-coupon-expiry {
	font-size: 12px;
	color: var(--fhs-text-muted);
	margin: 0;
}
.fhs-coupon-expiry.expired {
	color: var(--fhs-danger);
}

/* Points */
.fhs-points-balance {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(135deg, var(--fhs-primary), var(--fhs-primary-dark));
	color: var(--fhs-white);
	border-radius: var(--fhs-radius-lg);
	padding: 24px 28px;
	margin-bottom: 24px;
}
.fhs-points-label {
	font-size: 14px;
	opacity: .85;
}
.fhs-points-amount {
	font-size: 28px;
	font-weight: 800;
}

/* Reviews */
.fhs-review-item {
	padding: 20px 0;
	border-bottom: 1px solid var(--fhs-border);
}
.fhs-review-item:last-child {
	border-bottom: none;
}
.fhs-review-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}
.fhs-review-product {
	font-weight: 600;
	font-size: 14px;
}
.fhs-stars {
	color: #F59E0B;
	font-size: 15px;
}
.fhs-review-date {
	font-size: 12px;
	color: var(--fhs-text-muted);
	margin-left: auto;
}
.fhs-review-content {
	font-size: 14px;
	color: var(--fhs-text);
	margin: 0 0 10px;
	line-height: 1.6;
}
.fhs-review-reply {
	background: var(--fhs-bg);
	border-left: 3px solid var(--fhs-primary);
	padding: 12px 16px;
	border-radius: 0 var(--fhs-radius) var(--fhs-radius) 0;
	font-size: 13px;
}
.fhs-review-reply strong {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	color: var(--fhs-text-muted);
}
.fhs-review-reply p {
	margin: 0;
	color: var(--fhs-text);
}

/* Download list */
.fhs-download-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.fhs-download-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: var(--fhs-bg);
	border: 1px solid var(--fhs-border);
	border-radius: var(--fhs-radius);
	gap: 16px;
}
.fhs-download-item__name {
	font-weight: 600;
	font-size: 14px;
}
.fhs-download-item__meta {
	font-size: 12px;
	color: var(--fhs-text-muted);
	margin-top: 2px;
}

/* Wishlist grid */
.fhs-wishlist-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
}

/* ===================
   10. Responsive
   =================== */
@media (max-width: 1024px) {
	.fhs-product-detail {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.fhs-product-gallery {
		position: static;
	}
	.fhs-cart-wrap,
	.fhs-checkout-wrap {
		grid-template-columns: 1fr;
	}
	.fhs-cart-summary,
	.fhs-checkout-summary {
		position: static;
	}
}
@media (max-width: 768px) {
	.fhs-product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
	.fhs-product-info__name {
		font-size: 20px;
	}
	.fhs-product-info__price {
		font-size: 22px;
	}
	.fhs-product-buy-row {
		grid-template-columns: 1fr;
	}
	.fhs-form-grid {
		grid-template-columns: 1fr;
	}
	.fhs-pricing-table {
		grid-template-columns: 1fr;
	}
	.fhs-coupon-list {
		grid-template-columns: 1fr;
	}
	.fhs-cart-table th:nth-child(3),
	.fhs-cart-table td:nth-child(3) {
		display: none;
	}
	.fhs-mypage-table th:nth-child(5),
	.fhs-mypage-table td:nth-child(5),
	.fhs-mypage-table th:nth-child(4),
	.fhs-mypage-table td:nth-child(4) {
		display: none;
	}
}
@media (max-width: 480px) {
	.fhs-product-grid {
		grid-template-columns: 1fr;
	}
	.fhs-order-complete {
		margin: 32px auto;
		padding: 0 16px;
	}
	#fhs-toast-container {
		left: 16px;
		right: 16px;
		bottom: 16px;
	}
	.fhs-toast {
		min-width: 0;
	}
}

/* ========================================
   미니 장바구니 (드로어 / 모달) + 플로팅 버튼
   표시 방식은 관리자 설정(cart_display)으로 선택: drawer | modal | page
   ======================================== */
.fhs-cart-overlay { position: fixed; inset: 0; background: rgba(17,24,39,.45); opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 99998; }
.fhs-cart-overlay.is-open { opacity: 1; visibility: visible; }
.fhs-cart-overlay.fhs-cart-overlay--soft { background: rgba(17,24,39,.12); }
body.fhs-cart-open { overflow: hidden; }

.fhs-cart-drawer { position: fixed; z-index: 99999; display: flex; flex-direction: column; background: var(--fhs-bg,#fff); box-shadow: 0 10px 40px rgba(0,0,0,.25); transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .25s ease; font-family: inherit; }
.fhs-cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--fhs-border,#eef0f3); }
.fhs-cart-drawer__head h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--fhs-text,#111827); }
.fhs-cart-drawer__count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px; border-radius: 11px; background: var(--fhs-accent,#3B82F6); color: #fff; font-size: 12px; font-weight: 700; }
.fhs-cart-drawer__close { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--fhs-text-muted,#9ca3af); cursor: pointer; padding: 0 4px; }
.fhs-cart-drawer__close:hover { color: var(--fhs-text,#111827); }
.fhs-cart-drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.fhs-cart-drawer__foot { border-top: 1px solid var(--fhs-border,#eef0f3); padding: 16px 20px; background: var(--fhs-bg-gray,#fafbfc); }
.fhs-cart-drawer__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.fhs-cart-drawer__row span { color: var(--fhs-text-muted,#6b7280); font-size: 14px; }
.fhs-cart-drawer__total { font-size: 20px; font-weight: 800; color: var(--fhs-text,#111827); }
.fhs-cart-drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fhs-mini-btn { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 10px; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: .15s; }
.fhs-mini-btn--ghost { background: var(--fhs-bg,#fff); border: 1px solid var(--fhs-border,#d1d5db); color: var(--fhs-text-sub,#374151); }
.fhs-mini-btn--ghost:hover { background: var(--fhs-bg-gray,#f3f4f6); }
.fhs-mini-btn--primary { background: var(--fhs-primary,#3B82F6); border: 1px solid var(--fhs-primary,#3B82F6); color: var(--fhs-white,#fff); }
.fhs-mini-btn--primary:hover { filter: brightness(.95); }

/* 우측 슬라이드 드로어 (전체 높이) */
.fhs-cart-drawer[data-mode="drawer"] { top: 0; right: 0; height: 100%; width: 400px; max-width: 92vw; transform: translateX(100%); }
.fhs-cart-drawer[data-mode="drawer"].is-open { transform: translateX(0); }

/* 미니 모달 (쪽지함처럼 우하단 작게) */
.fhs-cart-drawer[data-mode="modal"] { bottom: 96px; right: 24px; width: 360px; max-width: 92vw; max-height: 70vh; border-radius: 16px; transform: translateY(16px) scale(.98); opacity: 0; visibility: hidden; }
.fhs-cart-drawer[data-mode="modal"].is-open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.fhs-cart-drawer[data-mode="modal"] .fhs-cart-drawer__head { border-radius: 16px 16px 0 0; }

/* 항목 */
.fhs-mini-item { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--fhs-border-light,#f1f3f5); }
.fhs-mini-item__img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--fhs-bg-soft,#f3f4f6); display: block; }
.fhs-mini-item__info { min-width: 0; }
.fhs-mini-item__name { font-size: 14px; font-weight: 600; color: var(--fhs-text,#111827); line-height: 1.35; }
.fhs-mini-item__opt { font-size: 12px; color: var(--fhs-text-muted,#9ca3af); margin-top: 2px; }
.fhs-mini-item__price { font-size: 13px; color: var(--fhs-text,#111827); font-weight: 700; margin-top: 4px; }
.fhs-mini-item__qty { display: flex; align-items: center; gap: 6px; }
.fhs-mini-qty { width: 26px; height: 26px; border: 1px solid var(--fhs-border,#d1d5db); background: var(--fhs-bg,#fff); border-radius: 6px; cursor: pointer; font-size: 15px; line-height: 1; color: var(--fhs-text-sub,#374151); }
.fhs-mini-qty:hover { background: var(--fhs-bg-gray,#f3f4f6); }
.fhs-mini-item__qnum { min-width: 20px; text-align: center; font-size: 14px; font-weight: 600; color: var(--fhs-text,#111827); }
.fhs-mini-item__remove { border: 0; background: none; color: var(--fhs-text-light,#c5c9cf); font-size: 20px; cursor: pointer; padding: 0 2px; }
.fhs-mini-item__remove:hover { color: var(--fhs-accent,#ef4444); }
.fhs-mini-empty { text-align: center; color: var(--fhs-text-muted,#9ca3af); padding: 48px 0; font-size: 15px; }

/* 플로팅 장바구니 버튼 */
.fhs-cart-fab { position: fixed; bottom: 24px; right: 24px; z-index: 99990; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--fhs-primary,#3B82F6); color: var(--fhs-white,#fff); box-shadow: 0 6px 20px rgba(0,0,0,.3); cursor: pointer; align-items: center; justify-content: center; }
.fhs-cart-fab__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--fhs-accent,#ef4444); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--fhs-bg,#fff); }

@media (max-width: 480px) {
	.fhs-cart-drawer[data-mode="drawer"] { width: 100%; max-width: 100%; }
	.fhs-cart-drawer[data-mode="modal"] { right: 12px; left: 12px; width: auto; bottom: 84px; }
	.fhs-cart-fab { bottom: 16px; right: 16px; }
}

/* ========================================
   마이페이지 주문 카드 + 액션 + 모달(클레임/리뷰)
   ======================================== */
.fhs-orders { display: flex; flex-direction: column; gap: 16px; }
.fhs-order-card { border: 1px solid #e9ecef; border-radius: 12px; overflow: hidden; background: #fff; }
.fhs-order-card__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: #f8f9fa; border-bottom: 1px solid #eef0f3; }
.fhs-order-card__meta { display: flex; flex-direction: column; gap: 2px; }
.fhs-order-card__no { font-weight: 700; color: #111827; font-size: 14px; }
.fhs-order-card__date { font-size: 12px; color: #9ca3af; }
.fhs-order-card__items { padding: 6px 18px; }
.fhs-order-line { display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f3f4f6; }
.fhs-order-line:last-child { border-bottom: 0; }
.fhs-order-line__name { font-size: 14px; color: #111827; font-weight: 500; }
.fhs-order-line__opt { display: inline-block; margin-left: 6px; font-size: 12px; color: #9ca3af; }
.fhs-order-line__qty { font-size: 13px; color: #6b7280; }
.fhs-order-line__price { font-size: 14px; font-weight: 600; color: #111827; }
.fhs-order-line__reviewed { font-size: 12px; color: #9ca3af; }
.fhs-order-card__ship { padding: 10px 18px; background: #fafbfc; border-top: 1px dashed #eef0f3; font-size: 13px; color: #6b7280; display: flex; flex-wrap: wrap; gap: 12px; }
.fhs-order-card__foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 1px solid #eef0f3; gap: 12px; flex-wrap: wrap; }
.fhs-order-card__total { font-size: 16px; color: #111827; }
.fhs-order-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.fhs-btn-sm { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid #d1d5db; background: #fff; color: #374151; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; transition: .15s; }
.fhs-btn-sm:hover { background: #f3f4f6; }
.fhs-btn-sm--primary { background: var(--fhs-primary,#3B82F6); border-color: var(--fhs-primary,#3B82F6); color: #fff; }
.fhs-btn-sm--primary:hover { filter: brightness(.95); }

/* 모달 (클레임/리뷰 공용) */
.fhs-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; }
.fhs-modal.is-open { display: flex; }
.fhs-modal__overlay { position: absolute; inset: 0; background: rgba(17,24,39,.5); }
.fhs-modal__panel { position: relative; width: 440px; max-width: 92vw; max-height: 86vh; overflow-y: auto; background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.fhs-modal__title { margin: 0 0 16px; font-size: 18px; font-weight: 700; color: #111827; }
.fhs-modal .fhs-field { display: block; margin-bottom: 14px; font-size: 13px; color: #374151; font-weight: 600; }
.fhs-modal .fhs-field select, .fhs-modal .fhs-field textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; font-weight: 400; box-sizing: border-box; font-family: inherit; }
.fhs-claim-refund { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fhs-claim-refund > span { font-weight: 600; }
.fhs-claim-refund label { font-weight: 400; display: inline-flex; align-items: center; gap: 4px; }
.fhs-modal__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.fhs-review-product-name { font-size: 14px; color: #6b7280; margin: -6px 0 12px; }
.fhs-star-input { display: flex; gap: 4px; margin-bottom: 14px; }
.fhs-star-input button { border: 0; background: none; font-size: 28px; line-height: 1; color: #d1d5db; cursor: pointer; padding: 0; }
.fhs-star-input button.is-active { color: #fbbf24; }

@media (max-width: 480px) {
	.fhs-order-line { grid-template-columns: 1fr auto; row-gap: 4px; }
	.fhs-order-card__foot { flex-direction: column; align-items: stretch; }
}

/* 비회원 주문조회 */
.fhs-order-lookup { max-width: 560px; margin: 0 auto; }
.fhs-lookup-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.fhs-lookup-form input { flex: 1 1 200px; height: 42px; padding: 0 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.fhs-lookup-form button { height: 42px; }

/* 상품 옵션 (조합형) 선택 */
.fhs-product-options { margin: 16px 0; }
.fhs-opt-field { margin-bottom: 14px; }
.fhs-opt-field__label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.fhs-opt-swatches, .fhs-opt-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.fhs-opt-sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px rgba(0,0,0,.15); cursor: pointer; padding: 0; }
.fhs-opt-sw.is-active { border-color: var(--fhs-primary, #111); box-shadow: 0 0 0 2px var(--fhs-primary, #111); }
.fhs-opt-btn { padding: 9px 16px; border: 1px solid #d0d0d0; background: #fff; border-radius: 8px; cursor: pointer; font-size: 14px; }
.fhs-opt-btn.is-active { border-color: var(--fhs-primary, #111); background: var(--fhs-primary, #111); color: #fff; }
.fhs-opt-sel { width: 100%; max-width: 340px; height: 44px; padding: 0 12px; border: 1px solid #d0d0d0; border-radius: 8px; font-size: 14px; }
.fhs-opt-status { margin-top: 10px; font-size: 13px; }
.fhs-opt-picked { color: var(--fhs-success, #1e9e52); font-weight: 600; }
.fhs-opt-soldout { color: var(--fhs-danger, #e8323c); font-weight: 600; }

/* ===================================================
   상품 통합검색 / 상세 필터 (사이드바)
   =================================================== */
.fhs-shop--filtered .fhs-shop-layout { display: flex; gap: 28px; align-items: flex-start; }
.fhs-filter-sidebar {
	width: 240px; flex-shrink: 0;
	border: 1px solid #ececec; border-radius: 12px; padding: 18px 16px;
	background: #fff; position: sticky; top: 20px;
}
.fhs-filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fhs-filter-head strong { font-size: 15px; }
.fhs-filter-reset {
	border: none; background: none; color: #888; font-size: 12px; cursor: pointer; padding: 2px 4px;
}
.fhs-filter-reset:hover { color: var(--fhs-primary); text-decoration: underline; }
.fhs-filter-group { padding: 14px 0; border-top: 1px solid #f1f1f1; }
.fhs-filter-group:first-of-type { border-top: none; padding-top: 0; }
.fhs-filter-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; color: #333; }
.fhs-filter-input {
	width: 100%; height: 38px; padding: 0 10px; border: 1px solid #d8d8d8;
	border-radius: 8px; font-size: 13px; box-sizing: border-box;
}
.fhs-filter-input:focus { border-color: var(--fhs-primary); outline: none; }
.fhs-filter-scroll { max-height: 220px; overflow-y: auto; }
.fhs-filter-check, .fhs-filter-radio {
	display: flex; align-items: center; gap: 8px; font-size: 13px; color: #444;
	padding: 5px 0; cursor: pointer;
}
.fhs-filter-check span, .fhs-filter-radio span { flex: 1; }
.fhs-filter-count { color: #aaa; font-size: 11px; font-style: normal; }
.fhs-filter-price { display: flex; align-items: center; gap: 6px; }
.fhs-filter-price .fhs-filter-input { text-align: right; }
.fhs-filter-price span { color: #aaa; }
.fhs-filter-apply {
	width: 100%; margin-top: 16px; height: 42px; border: none; border-radius: 8px;
	background: var(--fhs-primary); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
}
.fhs-filter-apply:hover { background: var(--fhs-primary-dark); }
.fhs-shop-main { flex: 1; min-width: 0; position: relative; }
.fhs-filter-results.is-loading { opacity: .5; transition: opacity .15s; pointer-events: none; }
.fhs-filter-loading[aria-hidden="false"] {
	position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center;
	padding-top: 80px;
}
.fhs-filter-loading[aria-hidden="false"]::after {
	content: ""; width: 36px; height: 36px; border-radius: 50%;
	border: 3px solid #e5e5e5; border-top-color: var(--fhs-primary);
	animation: fhs-spin .8s linear infinite;
}
@keyframes fhs-spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
	.fhs-shop--filtered .fhs-shop-layout { flex-direction: column; }
	.fhs-filter-sidebar { width: 100%; position: static; box-sizing: border-box; }
	.fhs-filter-scroll { max-height: 160px; }
}

/* ===================================================
   독립 마이페이지 ([fluxshop_mypage])
   =================================================== */
.fhs-account { max-width: 1100px; margin: 0 auto; }
.fhs-account--full { display: flex; gap: 28px; align-items: flex-start; }
.fhs-account__nav {
	width: 200px; flex-shrink: 0; display: flex; flex-direction: column; gap: 2px;
	border: 1px solid #ececec; border-radius: 12px; padding: 10px; background: #fff;
	position: sticky; top: 20px;
}
.fhs-account__tab {
	display: block; padding: 11px 14px; border-radius: 8px; font-size: 14px;
	color: #444; text-decoration: none; transition: background .15s, color .15s;
}
.fhs-account__tab:hover { background: #f5f5f7; }
.fhs-account__tab.is-active { background: var(--fhs-primary); color: #fff; font-weight: 600; }
.fhs-account__body { flex: 1; min-width: 0; }

@media (max-width: 768px) {
	.fhs-account--full { flex-direction: column; }
	.fhs-account__nav {
		width: 100%; box-sizing: border-box; flex-direction: row; flex-wrap: wrap;
		position: static;
	}
	.fhs-account__tab { flex: 0 0 auto; }
}

/* ===================================================
   상품상세 — 선택한 옵션 누적 목록
   =================================================== */
.fhs-selected-options { margin: 14px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.fhs-sel-line {
	display: flex; align-items: center; gap: 10px;
	background: #f7f7fa; border: 1px solid #ececf0; border-radius: 10px; padding: 10px 12px;
}
.fhs-sel-line__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fhs-sel-line__name { font-size: 14px; font-weight: 600; color: #222; }
.fhs-sel-line__stock { font-size: 11px; color: #999; }
.fhs-sel-line__qty { display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; background: #fff; }
.fhs-sel-qty { width: 30px; height: 32px; border: none; background: #fff; cursor: pointer; font-size: 16px; color: #555; }
.fhs-sel-qty:hover { background: #f1f1f1; }
.fhs-sel-qty-input { width: 40px; height: 32px; border: none; border-left: 1px solid #eee; border-right: 1px solid #eee; text-align: center; font-size: 14px; -moz-appearance: textfield; }
.fhs-sel-qty-input::-webkit-outer-spin-button, .fhs-sel-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fhs-sel-line__price { min-width: 84px; text-align: right; font-weight: 700; font-size: 14px; color: var(--fhs-primary, #111); }
.fhs-sel-remove { width: 26px; height: 26px; border: none; background: none; color: #aaa; font-size: 18px; cursor: pointer; line-height: 1; }
.fhs-sel-remove:hover { color: #e8323c; }

/* ===================================================
   상품상세 — 구매후기
   =================================================== */
.fhs-tab-count { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 2px; font-size: 11px; line-height: 18px; border-radius: 9px; background: #eee; color: #666; vertical-align: middle; }
.fhs-reviews__summary { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid #eee; margin-bottom: 12px; }
.fhs-reviews__score { display: flex; align-items: baseline; gap: 6px; }
.fhs-reviews__score strong { font-size: 28px; color: #222; }
.fhs-reviews__stars { color: #ffb400; letter-spacing: 1px; }
.fhs-reviews__total { color: #888; font-size: 13px; }
.fhs-reviews__list { list-style: none; margin: 0; padding: 0; }
.fhs-review-item { padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.fhs-review-item__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.fhs-review-item__stars { color: #ffb400; letter-spacing: 1px; font-size: 14px; }
.fhs-review-item__author { font-weight: 600; font-size: 13px; color: #333; }
.fhs-review-item__date { color: #aaa; font-size: 12px; margin-left: auto; }
.fhs-review-item__photos { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.fhs-review-photo { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; cursor: pointer; }
.fhs-review-item__content { color: #444; font-size: 14px; line-height: 1.7; margin: 6px 0 0; }
.fhs-review-item__reply { margin-top: 10px; padding: 10px 12px; background: #f7f7fa; border-radius: 8px; }
.fhs-review-item__reply strong { display: block; font-size: 12px; color: var(--fhs-primary, #6C5CE7); margin-bottom: 4px; }
.fhs-review-item__reply p { margin: 0; font-size: 13px; color: #555; }

/* ===================================================
   상품 문의 (Q&A) — 독립형
   =================================================== */
.fhs-qna-board__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 14px; border-bottom: 1px solid #eee; margin-bottom: 14px; }
.fhs-qna-board__count { color: #666; font-size: 14px; font-weight: 600; }
.fhs-qna-form { margin-bottom: 18px; }
.fhs-qna-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #ddd; border-radius: 8px; padding: 12px; font-size: 14px; resize: vertical; }
.fhs-qna-form__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.fhs-qna-secret { font-size: 13px; color: #666; display: inline-flex; align-items: center; gap: 6px; }
.fhs-qna-list { list-style: none; margin: 0; padding: 0; }
.fhs-qna-item { padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.fhs-qna-item__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.fhs-qna-badge { font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.fhs-qna-badge--pending { background: #fff3e0; color: #e08600; }
.fhs-qna-badge--answered { background: #e3f6ec; color: #1e9e52; }
.fhs-qna-lock { font-size: 12px; }
.fhs-qna-item__author { font-size: 13px; font-weight: 600; color: #333; }
.fhs-qna-item__date { font-size: 12px; color: #aaa; margin-left: auto; }
.fhs-qna-item__content { margin: 4px 0 0; font-size: 14px; color: #444; line-height: 1.7; }
.fhs-qna-item__reply { margin-top: 10px; padding: 10px 12px; background: #f7f7fa; border-radius: 8px; border-left: 3px solid var(--fhs-primary, #6C5CE7); }
.fhs-qna-item__reply strong { display: block; font-size: 12px; color: var(--fhs-primary, #6C5CE7); margin-bottom: 4px; }
.fhs-qna-item__reply p { margin: 0; font-size: 13px; color: #555; }
.fhs-btn-sm { display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px; border: 1px solid #ddd; border-radius: 8px; background: #fff; font-size: 13px; cursor: pointer; color: #333; text-decoration: none; }
.fhs-btn-sm--primary { background: var(--fhs-primary, #6C5CE7); border-color: var(--fhs-primary, #6C5CE7); color: #fff; }

/* ===================================================
   터치 타겟 — 모바일에서 최소 44px (접근성)
   =================================================== */
@media (max-width: 768px) {
	.fhs-sel-qty { width: 44px; height: 44px; font-size: 18px; }
	.fhs-sel-qty-input { height: 44px; width: 48px; font-size: 15px; }
	.fhs-qty-btn { min-width: 44px; height: 44px; }
	.fhs-qty-wrap input { height: 44px; }
	.fhs-mini-qty { width: 40px; height: 40px; }
	.fhs-card-action { width: 44px; height: 44px; }
	.fhs-card-action svg { width: 18px; height: 18px; }
	.fhs-mini-item__remove { width: 40px; height: 40px; }
	.fhs-filter-apply, .fhs-filter-reset { min-height: 44px; }
	.fhs-qna-write-btn, .fhs-write-review, .fhs-btn-sm { min-height: 40px; }
	.fhs-sort-select, .fhs-filter-input { min-height: 44px; }
	.fhs-tab-btn { min-height: 48px; }
}

/* ===================================================
   후기 사진 업로드 (모달)
   =================================================== */
.fhs-review-photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; align-items: center; }
.fhs-review-photos__preview { display: flex; flex-wrap: wrap; gap: 8px; }
.fhs-review-photo-thumb { position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: #f1f1f1; }
.fhs-review-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fhs-review-photo-thumb__del { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border: none; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; line-height: 1; cursor: pointer; padding: 0; }
.fhs-review-photo-thumb__loading { position: absolute; inset: 0; display: block; }
.fhs-review-photo-thumb__loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid #ddd; border-top-color: var(--fhs-primary, #6C5CE7); border-radius: 50%; animation: fhs-spin .8s linear infinite; }
.fhs-review-photos__add { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 1px dashed #ccc; border-radius: 8px; color: #888; font-size: 12px; cursor: pointer; text-align: center; }
.fhs-review-photos__add:hover { border-color: var(--fhs-primary, #6C5CE7); color: var(--fhs-primary, #6C5CE7); }

/* ===================================================
   목록 퀵뷰 (옵션 선택 팝업)
   =================================================== */
.fhs-quickview { position: fixed; inset: 0; z-index: 99998; display: none; }
.fhs-quickview.is-open { display: block; }
.fhs-quickview .fhs-modal__overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); }
.fhs-quickview__panel { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(92vw, 520px); max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 16px; padding: 28px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.fhs-quickview__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: none; background: none; font-size: 26px; line-height: 1; color: #888; cursor: pointer; z-index: 2; }
.fhs-quickview__close:hover { color: #111; }
.fhs-quickview__loading { min-height: 200px; position: relative; }
.fhs-quickview__loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 3px solid #eee; border-top-color: var(--fhs-primary, #6C5CE7); border-radius: 50%; animation: fhs-spin .8s linear infinite; }
/* 퀵뷰 안에서는 갤러리/공유/찜 등 상세 전용 요소 축소 */
.fhs-quickview__body .fluxshop-product-detail__info { padding: 0; }
.fhs-quickview__body .fluxshop-product-detail__icon-actions { display: none; }
.fhs-quickview__body .fluxshop-product-detail__name { font-size: 20px; }

/* 찜 활성 상태 — 하트 채우기 */
.fhs-wishlist-btn.active svg,
.fhs-card-action.fhs-wishlist-btn.active svg { fill: var(--fhs-danger, #e8323c); stroke: var(--fhs-danger, #e8323c); }
.fhs-card-action.fhs-wishlist-btn.active { color: var(--fhs-danger, #e8323c); }
.fhs-icon-btn.fhs-wishlist-btn.active { color: var(--fhs-danger, #e8323c); border-color: var(--fhs-danger, #e8323c); }

/* ===================================================
   장바구니 드로어 — 옵션 선택 뷰 (목록에서 옵션상품 담기)
   =================================================== */
.fhs-cart-drawer__optfoot { display: none; padding: 16px; border-top: 1px solid var(--fhs-border, #eee); }
.fhs-cart-drawer[data-view="options"] .fhs-cart-drawer__foot { display: none; }
.fhs-cart-drawer[data-view="options"] .fhs-cart-drawer__optfoot { display: block; }
.fhs-cart-drawer__optfoot .fhs-mini-btn { width: 100%; justify-content: center; height: 48px; font-size: 15px; }
.fhs-cartopt { padding: 4px 2px; }
.fhs-cartopt__head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--fhs-border, #eee); margin-bottom: 16px; }
.fhs-cartopt__thumb { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--fhs-bg-soft, #f5f5f5); flex-shrink: 0; }
.fhs-cartopt__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fhs-cartopt__name { font-weight: 600; font-size: 14px; color: var(--fhs-text, #222); }
.fhs-cartopt__price { color: var(--fhs-text-muted, #888); font-size: 13px; }
.fhs-cartopt__total { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--fhs-border, #eee); }
.fhs-cartopt__total strong { font-size: 18px; font-weight: 800; color: var(--fhs-text, #222); }
/* 드로어 안에서는 옵션 스와치/드롭다운 폭 100% */
.fhs-cartopt .fhs-opt-sel { max-width: 100%; }

/* ===================
   추천 상품 (그리드/슬라이더)
   =================== */
.fhs-featured { margin: 0 0 48px; }
.fhs-featured__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.fhs-featured__title { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--fhs-text, #1a1a1a); }

/* 슬라이더 컨테이너: 좌우 네비게이션 공간 확보 */
.fhs-featured--slider .fhs-featured-swiper { position: relative; padding: 4px 4px 44px; }
.fhs-featured-swiper .swiper-slide { height: auto; box-sizing: border-box; }
/* 카드가 슬라이드 높이를 꽉 채우도록 */
.fhs-featured-swiper .swiper-slide > .fluxshop-product-card { height: 100%; }

/* Swiper 번들 로드 전(또는 미로드 시) 가로 폴백 레이아웃 */
.fhs-featured-swiper:not(.fhs-swiper-ready) .swiper-wrapper {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}
.fhs-featured-swiper:not(.fhs-swiper-ready) .swiper-slide {
	flex: 0 0 80%;
	max-width: 320px;
	scroll-snap-align: start;
}
.fhs-featured-swiper:not(.fhs-swiper-ready) .swiper-button-prev,
.fhs-featured-swiper:not(.fhs-swiper-ready) .swiper-button-next,
.fhs-featured-swiper:not(.fhs-swiper-ready) .swiper-pagination { display: none; }

/* 네비게이션 버튼 */
.fhs-featured__nav.swiper-button-prev,
.fhs-featured__nav.swiper-button-next {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--fhs-white, #fff);
	box-shadow: 0 2px 10px rgba(0,0,0,.12);
	border: 1px solid var(--fhs-border, #eee);
	color: var(--fhs-text, #222);
	margin: 0;
	top: 42%;
	transition: background .2s ease, color .2s ease;
}
.fhs-featured__nav.swiper-button-prev { left: -6px; }
.fhs-featured__nav.swiper-button-next { right: -6px; }
.fhs-featured__nav.swiper-button-prev::after,
.fhs-featured__nav.swiper-button-next::after { font-size: 16px; font-weight: 700; }
.fhs-featured__nav:hover { background: var(--fhs-primary, #1a1a1a); color: #fff; }

/* 페이지네이션 도트 */
.fhs-featured-swiper .swiper-pagination.fhs-featured__dots { bottom: 8px; }
.fhs-featured-swiper .swiper-pagination-bullet-active { background: var(--fhs-primary, #1a1a1a); }

@media (max-width: 768px) {
	.fhs-featured { margin-bottom: 36px; }
	.fhs-featured__title { font-size: 20px; }
	.fhs-featured__nav.swiper-button-prev,
	.fhs-featured__nav.swiper-button-next { display: none; }
}

/* =========================================================
   커머스 표면(surface) — 다크/커스텀 테마에서도 밝은 배경 보장
   (무신사/카페24처럼 스토어 영역은 항상 라이트 표면)
   ========================================================= */
.fhs-pdp, .fhs-shop--musinsa, .fhs-cart2, .fhs-account, .fhs-mypage {
	background: #fff;
	color: #111;
	border-radius: 8px;
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
/* 테마 상속 간섭 차단: 스토어 영역 내부 공통 리셋 */
.fhs-pdp *, .fhs-shop--musinsa *, .fhs-cart2 *, .fhs-account *, .fhs-mypage * { box-sizing: border-box; }
.fhs-pdp button, .fhs-shop--musinsa button, .fhs-cart2 button, .fhs-account button, .fhs-mypage button { font-family: inherit; }
.fhs-account, .fhs-mypage { color: #111; }
/* 테마가 레거시 클래스(.fluxshop*)에 grid/flex를 걸어 내부 레이아웃이 깨지는 것 차단 (특이도 우위) */
.fhs-pdp.fluxshop-product-detail,
.fhs-cart2.fluxshop-cart { display: block; }
.fhs-shop--musinsa.fluxshop-products-wrap { display: block; }
.fhs-pdp a, .fhs-shop--musinsa a, .fhs-cart2 a { color: inherit; }
/* 테마의 heading 색상(다크/커스텀)이 스토어 표면 제목을 덮어쓰지 않도록 강제 */
.fhs-pdp h1, .fhs-pdp h2, .fhs-pdp h3, .fhs-pdp h4,
.fhs-shop--musinsa h1, .fhs-shop--musinsa h2, .fhs-shop--musinsa h3, .fhs-shop--musinsa h4,
.fhs-cart2 h1, .fhs-cart2 h2, .fhs-cart2 h3, .fhs-cart2 h4 { color: #111; }

/* =========================================================
   상품 상세 (PDP) — 무신사식 2단 sticky 레이아웃
   토큰은 재정의 가능. 기본은 무신사 톤(블랙/화이트/#e0e0e0)
   ========================================================= */
.fhs-pdp {
	--fhs-pdp-border: #ebebeb;
	--fhs-pdp-line:   #ebebeb;
	--fhs-pdp-ink:    #000;
	--fhs-pdp-sub:    #8a8a8a;
	--fhs-pdp-accent: #f31110;
	--fhs-pdp-sidebar: 400px;
	--fhs-pdp-navtop: 0px; /* 테마 헤더 높이만큼 조정 가능 */
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 16px 80px;
	color: var(--fhs-pdp-ink);
	font-family: inherit;
}
.fhs-pdp *, .fhs-pdp *::before, .fhs-pdp *::after { box-sizing: border-box; }

/* 브레드크럼 */
.fhs-pdp__breadcrumb { font-size: 12px; color: var(--fhs-pdp-sub); margin: 8px 0 20px; }
.fhs-pdp__breadcrumb a { color: var(--fhs-pdp-sub); text-decoration: none; }
.fhs-pdp__breadcrumb a:hover { text-decoration: underline; }
.fhs-pdp__crumb-sep { margin: 0 6px; color: #c9ccd1; }

/* 상단 2단 */
.fhs-pdp__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--fhs-pdp-sidebar);
	gap: 48px;
	align-items: start;
}
.fhs-pdp__right { position: sticky; top: calc(var(--fhs-pdp-navtop) + 20px); }

/* ── 갤러리 ── */
.fhs-gallery { display: grid; grid-template-columns: 72px minmax(0,1fr); grid-auto-flow: dense; gap: 12px; }
.fhs-gallery__thumbs { order: -1; display: flex; flex-direction: column; gap: 8px; max-height: 560px; overflow-y: auto; }
.fhs-gallery__thumb { width: 72px; height: 72px; padding: 0; border: 1px solid var(--fhs-pdp-border); border-radius: 4px; overflow: hidden; cursor: pointer; background: #fff; flex: 0 0 auto; }
.fhs-gallery__thumb.is-active { border-color: var(--fhs-pdp-ink); }
.fhs-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fhs-gallery__stage { position: relative; aspect-ratio: 1/1; background: #f7f7f7; border-radius: 6px; overflow: hidden; }
.fhs-gallery__main { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.fhs-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: #111; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.15); opacity: 0; transition: opacity .2s; }
.fhs-gallery__stage:hover .fhs-gallery__nav { opacity: 1; }
.fhs-gallery__nav--prev { left: 12px; }
.fhs-gallery__nav--next { right: 12px; }
.fhs-gallery__counter { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 12px; }

/* 라이트박스 */
.fhs-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; padding: 40px; }
.fhs-lightbox.is-open { display: flex; }
.fhs-lightbox__img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.fhs-lightbox__close { position: absolute; top: 20px; right: 28px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }

/* ── 우측 사이드바 ── */
.fhs-sidebar { font-size: 14px; }
.fhs-sidebar__brand { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.fhs-sidebar__name { font-size: 20px; font-weight: 600; line-height: 1.4; margin: 0 0 10px; color: var(--fhs-pdp-ink); }
.fhs-sidebar__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 13px; }
.fhs-sidebar__rating { display: inline-flex; align-items: center; gap: 4px; color: var(--fhs-pdp-ink); text-decoration: none; }
.fhs-sidebar__rating .fhs-star { color: #ffb400; }
.fhs-sidebar__rating .fhs-rating-count { color: var(--fhs-pdp-sub); text-decoration: underline; }
.fhs-sidebar__likes { color: var(--fhs-pdp-sub); }
.fhs-sidebar .fluxshop-product-detail__short-desc { color: var(--fhs-pdp-sub); font-size: 13px; margin: 0 0 16px; }

.fhs-sidebar__price { margin: 14px 0; }
.fhs-sidebar__price .fhs-price-del { color: #8a8a8a; text-decoration: line-through; font-size: 13px; }
.fhs-sidebar__price .fhs-price-line { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.fhs-sidebar__price .fhs-price-discount { color: var(--fhs-pdp-accent); font-size: 18px; font-weight: 700; }
.fhs-sidebar__price .fhs-price-discount .unit { font-size: 18px; }
.fhs-sidebar__price .fhs-price-current { font-size: 18px; font-weight: 700; color: var(--fhs-pdp-ink); }
.fhs-sidebar__price .fhs-price-cycle { color: var(--fhs-pdp-sub); font-size: 13px; }

.fhs-sidebar__facts { border-top: 1px solid var(--fhs-pdp-line); margin: 16px 0 0; padding: 14px 0 0; }
.fhs-sidebar__fact { display: grid; grid-template-columns: 60px 1fr; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.fhs-sidebar__fact dt { color: var(--fhs-pdp-sub); margin: 0; }
.fhs-sidebar__fact dd { margin: 0; color: var(--fhs-pdp-ink); }
.fhs-trial-badge { background: #eef6ff; color: #2563eb; padding: 2px 8px; border-radius: 4px; font-size: 12px; }

.fhs-sidebar__total { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--fhs-pdp-line); margin-top: 16px; padding-top: 16px; }
.fhs-sidebar__total .fluxshop-product-detail__total-label { color: var(--fhs-pdp-sub); font-size: 14px; }
.fhs-sidebar__total .fluxshop-product-detail__total-amount { font-size: 22px; font-weight: 800; }

/* 구매 버튼줄 (무신사 톤) */
.fhs-sidebar__actions { display: flex; gap: 8px; margin-top: 16px; }
.fhs-sidebar__actions .fluxshop-btn { height: 52px; border-radius: 4px; font-size: 14px; font-weight: 500; flex: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid var(--fhs-pdp-border); background: #fff; color: var(--fhs-pdp-ink); }
.fhs-sidebar__actions .fluxshop-btn--buy,
.fhs-sidebar__actions .fluxshop-btn--primary { background: var(--fhs-pdp-ink); color: #fff; border-color: var(--fhs-pdp-ink); }
.fhs-sidebar__actions .fluxshop-btn--buy:hover,
.fhs-sidebar__actions .fluxshop-btn--primary:hover { background: #000; }
.fhs-sidebar__actions .fhs-sidebar__wish { flex: 0 0 52px; width: 52px; height: 52px; border: 1px solid var(--fhs-pdp-border); border-radius: 4px; background: #fff; color: #888; display: inline-flex; align-items: center; justify-content: center; }
.fhs-sidebar__actions .fhs-sidebar__wish svg { width: 22px; height: 22px; }
.fhs-sidebar__actions .fhs-sidebar__wish.active { color: var(--fhs-pdp-accent); }
.fhs-sidebar__actions .fhs-sidebar__wish.active svg { fill: var(--fhs-pdp-accent); }
/* 구매 버튼줄: 좋아요 + (장바구니) + 구매하기 한 줄 유지 (옛 grid/absolute 규칙 무력화) */
.fhs-sidebar__actions.fluxshop-product-detail__actions { display: flex; align-items: stretch; gap: 8px; }
.fhs-sidebar__actions .fluxshop-btn--block { width: auto; display: inline-flex; }
.fhs-sidebar__actions .fhs-sidebar__wish { position: static; top: auto; right: auto; }
/* 좋아요: 하트 + 숫자 세로 스택 (무신사) */
.fhs-sidebar__actions .fhs-sidebar__wish { flex-direction: column; gap: 1px; }
.fhs-sidebar__actions .fhs-sidebar__wish svg { width: 20px; height: 20px; }
.fhs-sidebar__wish-count { font-size: 11px; color: #888; line-height: 1; }

/* 배지 (단독/멤버스데이 등) */
.fhs-sidebar__badges { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 10px; }
.fhs-sidebar__badge { font-size: 11px; font-weight: 600; color: #333; background: #f4f4f4; padding: 3px 8px; border-radius: 3px; }
.fhs-sidebar__badge:first-child { background: #22254a; color: #fff; }

/* 쿠폰적용가 라벨 */
.fhs-sidebar__price-label { font-size: 13px; color: #666; margin-bottom: 2px; }

/* 갤러리 공유 버튼 (좌측 하단) */
.fhs-gallery__share { margin-top: 12px; }
.fhs-share-btn { width: 40px; height: 40px; border: 1px solid var(--fhs-pdp-border); border-radius: 50%; background: #fff; color: #333; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .15s; }
.fhs-share-btn:hover { border-color: #999; }
.fhs-share-btn.copied { border-color: var(--fhs-pdp-ink); color: var(--fhs-pdp-ink); }

/* ── sticky 탭 + 섹션 ── */
.fhs-pdp-tabs { margin-top: 56px; }
.fhs-pdp-tabs__nav { position: sticky; top: var(--fhs-pdp-navtop); z-index: 50; display: flex; background: #fff; border-bottom: 1px solid var(--fhs-pdp-line); }
.fhs-pdp-tabs__btn { flex: 1; text-align: center; padding: 14px 8px; font-size: 14px; font-weight: 400; color: var(--fhs-pdp-sub); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.fhs-pdp-tabs__btn.is-active { color: var(--fhs-pdp-ink); font-weight: 600; border-bottom-color: var(--fhs-pdp-ink); }
.fhs-pdp-tabs__btn .fhs-tab-count { color: var(--fhs-pdp-accent); font-weight: 600; margin-left: 2px; background: none; padding: 0; border-radius: 0; min-width: 0; height: auto; display: inline; font-size: 14px; }

.fhs-pdp-section { padding: 40px 0; border-bottom: 1px solid var(--fhs-pdp-line); scroll-margin-top: 80px; }
.fhs-pdp-section__heading { font-size: 20px; font-weight: 700; margin: 0 0 20px; }
.fhs-count-em { color: var(--fhs-pdp-accent); }
.fhs-pdp-block { margin-top: 48px; }
.fhs-pdp-block__title { font-size: 17px; font-weight: 700; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--fhs-pdp-ink); }

/* 상세 이미지 더보기 */
.fhs-pdp-desc { position: relative; overflow: hidden; }
.fhs-pdp-desc.fhs-collapsed { max-height: 1200px; }
.fhs-pdp-desc.fhs-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.fhs-pdp-desc__inner img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.fhs-pdp-desc__more { text-align: center; margin: 16px 0 0; }
.fhs-more-btn { min-width: 200px; height: 46px; border: 1px solid var(--fhs-pdp-border); border-radius: 4px; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.fhs-more-btn:hover { border-color: #999; }

/* 규격/사이즈표 · 고시표 · 정보표 */
.fhs-size-table-wrap { overflow-x: auto; }
.fhs-size-table, .fhs-notice-table, .fhs-info-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fhs-size-table th, .fhs-size-table td { border: 1px solid var(--fhs-pdp-border); padding: 10px 12px; text-align: center; }
.fhs-size-table th { background: #fafafa; font-weight: 700; }
.fhs-notice-table th, .fhs-info-table th { width: 200px; background: #fafafa; text-align: left; padding: 12px 16px; border: 1px solid var(--fhs-pdp-border); font-weight: 600; color: #444; vertical-align: top; }
.fhs-notice-table td, .fhs-info-table td { padding: 12px 16px; border: 1px solid var(--fhs-pdp-border); }
.fhs-notice-ref { color: var(--fhs-pdp-sub); }

/* 정보 섹션(배송/교환/판매자/결제) */
.fhs-info-section { margin-bottom: 28px; }
.fhs-info-section__title { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.fhs-info-section__body { font-size: 14px; line-height: 1.7; color: #333; }
.fhs-info-section__body ul { margin: 0; padding-left: 18px; }
.fhs-info-section__body li { margin-bottom: 6px; }

/* 추천 슬라이더 */
.fhs-reco-slider { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.fhs-reco-slider__item { flex: 0 0 200px; scroll-snap-align: start; }
.fhs-reco-slider__item .fluxshop-product-card { border: 0; }

/* 리뷰 overview */
.fhs-reviews__overview { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; padding: 24px; background: #fafafa; border-radius: 8px; margin-bottom: 24px; }
.fhs-reviews__score { text-align: center; }
.fhs-reviews__score strong { display: block; font-size: 40px; font-weight: 800; line-height: 1; }
.fhs-reviews__score .fhs-reviews__stars { color: #ffb400; font-size: 16px; }
.fhs-reviews__score .fhs-reviews__total { display: block; color: var(--fhs-pdp-sub); font-size: 13px; margin-top: 4px; }
.fhs-reviews__dist-row { display: grid; grid-template-columns: 32px 1fr 40px; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 12px; color: var(--fhs-pdp-sub); }
.fhs-reviews__dist-bar { height: 6px; background: #e9ebee; border-radius: 3px; overflow: hidden; }
.fhs-reviews__dist-bar i { display: block; height: 100%; background: var(--fhs-pdp-ink); }
.fhs-reviews__dist-cnt { text-align: right; }
.fhs-reviews__photos { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.fhs-reviews__photos .fhs-review-photo { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; cursor: pointer; }
.fhs-reviews__list { list-style: none; margin: 0; padding: 0; }
.fhs-review-item { border-bottom: 1px solid var(--fhs-pdp-line); padding: 20px 0; }
.fhs-review-item__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.fhs-review-item__stars { color: #ffb400; }
.fhs-review-item__author { font-weight: 600; }
.fhs-review-item__date { color: var(--fhs-pdp-sub); margin-left: auto; }
.fhs-review-item__photos { display: flex; gap: 8px; margin: 10px 0; }
.fhs-review-item__photos img { width: 90px; height: 90px; object-fit: cover; border-radius: 6px; }
.fhs-review-item__content { font-size: 14px; line-height: 1.6; margin: 8px 0 0; }
.fhs-review-item__reply { background: #f6f7f9; border-radius: 6px; padding: 12px 14px; margin-top: 12px; font-size: 13px; }
.fhs-review-item__reply strong { display: block; margin-bottom: 4px; }
.fhs-reviews__write { text-align: right; margin-bottom: 16px; }

/* ── 반응형 ── */
@media (max-width: 1024px) {
	.fhs-pdp__top { grid-template-columns: 1fr; gap: 28px; }
	.fhs-pdp__right { position: static; }
	.fhs-gallery { grid-template-columns: 1fr; }
	.fhs-gallery__thumbs { order: 1; flex-direction: row; max-height: none; overflow-x: auto; }
}
@media (max-width: 768px) {
	.fhs-pdp { padding: 8px 12px 60px; }
	.fhs-pdp-tabs__nav { overflow-x: auto; }
	.fhs-pdp-tabs__btn { flex: 0 0 auto; padding: 14px 18px; }
	.fhs-reviews__overview { grid-template-columns: 1fr; gap: 20px; }
	.fhs-sidebar__actions .fluxshop-btn { height: 48px; font-size: 14px; }
	.fhs-reco-slider__item { flex-basis: 150px; }
}

/* =========================================================
   상품 목록 (무신사식 상단 필터바 + 넓은 그리드)
   ========================================================= */
.fhs-shop--musinsa {
	--fhs-shop-border: #ebebeb;
	--fhs-shop-ink: #000;
	--fhs-shop-sub: #8a8a8a;
	--fhs-shop-accent: #f31110;
	max-width: 1280px;
	margin: 0 auto;
	padding: 8px 16px 60px;
}
.fhs-shop--musinsa *, .fhs-shop--musinsa *::before, .fhs-shop--musinsa *::after { box-sizing: border-box; }

/* 카테고리 탭 */
.fhs-cat-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--fhs-shop-border); margin-bottom: 16px; }
.fhs-cat-tab { position: relative; cursor: pointer; }
.fhs-cat-tab input { position: absolute; opacity: 0; pointer-events: none; }
.fhs-cat-tab span { display: block; padding: 12px 16px; font-size: 15px; color: var(--fhs-shop-sub); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.fhs-cat-tab.is-active span, .fhs-cat-tab input:checked + span { color: var(--fhs-shop-ink); font-weight: 700; border-bottom-color: var(--fhs-shop-ink); }

/* 브랜드/옵션 칩 */
.fhs-chip-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.fhs-chip-row__label { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--fhs-shop-ink); padding-top: 7px; }
.fhs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fhs-chip, .fhs-toggle-chip { position: relative; cursor: pointer; }
.fhs-chip input, .fhs-toggle-chip input { position: absolute; opacity: 0; pointer-events: none; }
.fhs-chip span, .fhs-toggle-chip span { display: block; padding: 6px 14px; font-size: 13px; color: #444; border: 1px solid var(--fhs-shop-border); border-radius: 16px; background: #fff; transition: all .15s; }
.fhs-chip.is-checked span, .fhs-chip input:checked + span,
.fhs-toggle-chip.is-checked span, .fhs-toggle-chip input:checked + span { border-color: var(--fhs-shop-ink); background: var(--fhs-shop-ink); color: #fff; font-weight: 600; }

/* 필터 바 */
.fhs-filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid #f0f0f0; }
.fhs-filterbar__search { display: flex; align-items: center; gap: 6px; border: 1px solid var(--fhs-shop-border); border-radius: 4px; padding: 0 10px; height: 38px; color: #999; }
.fhs-filterbar__search input { border: 0; outline: 0; font-size: 14px; width: 180px; background: transparent; }
.fhs-filterbar__price { display: flex; align-items: center; gap: 6px; }
.fhs-filterbar__price input { width: 100px; height: 38px; border: 1px solid var(--fhs-shop-border); border-radius: 4px; padding: 0 10px; font-size: 13px; }
.fhs-filterbar__rating { height: 38px; border: 1px solid var(--fhs-shop-border); border-radius: 4px; padding: 0 10px; font-size: 13px; background: #fff; }
.fhs-filterbar__reset { margin-left: auto; height: 38px; padding: 0 16px; border: 1px solid var(--fhs-shop-border); border-radius: 4px; background: #fff; font-size: 13px; cursor: pointer; }
.fhs-filterbar__reset:hover { border-color: #999; }

/* 결과 툴바 */
.fhs-shop--musinsa .fhs-loop-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.fhs-shop--musinsa .fhs-loop-count strong { font-size: 15px; font-weight: 700; }
.fhs-shop--musinsa .fhs-loop-count span { color: var(--fhs-shop-sub); font-size: 13px; }
.fhs-shop--musinsa .fhs-sort-select { height: 36px; border: 1px solid var(--fhs-shop-border); border-radius: 4px; padding: 0 10px; font-size: 13px; background: #fff; }
.fhs-shop--musinsa .fhs-filter-results.is-loading { opacity: .5; transition: opacity .2s; }

/* 그리드 */
.fhs-shop-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 16px; }
.fhs-shop--musinsa .fluxshop-product-card { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.fhs-shop--musinsa .fluxshop-product-card:hover { box-shadow: none; transform: none; }
.fhs-shop--musinsa .fluxshop-product-card__image-link { display: block; position: relative; aspect-ratio: 5/6; border-radius: 6px; overflow: hidden; background: #f7f7f7; }
.fhs-shop--musinsa .fluxshop-product-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.fhs-shop--musinsa .fluxshop-product-card__image-link:hover .fluxshop-product-card__image { transform: scale(1.04); }
.fhs-shop--musinsa .fluxshop-product-card__body { padding: 10px 2px 0; }
.fluxshop-product-card__brand { font-size: 11px; font-weight: 600; color: var(--fhs-shop-ink); margin: 0 0 3px; }
.fhs-shop--musinsa .fluxshop-product-card__name { font-size: 13px; font-weight: 400; line-height: 1.4; margin: 0 0 6px; }
.fhs-shop--musinsa .fluxshop-product-card__name a { color: #000; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fhs-shop--musinsa .fluxshop-product-card__summary { display: none; }
.fhs-shop--musinsa .fluxshop-product-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.fhs-shop--musinsa .fluxshop-price--original { order: 3; color: #c0c3c8; text-decoration: line-through; font-size: 12px; font-weight: 400; }
.fhs-shop--musinsa .fluxshop-price--discount { color: var(--fhs-shop-accent); font-weight: 600; font-size: 13px; }
.fhs-shop--musinsa .fluxshop-price--current { font-weight: 600; font-size: 13px; color: var(--fhs-shop-ink); }
.fhs-shop--musinsa .fluxshop-product-card__review { font-size: 11px; color: var(--fhs-shop-sub); margin: 4px 0 0; }
.fhs-shop--musinsa .fluxshop-product-card__review .fhs-star { color: #ffb400; }

@media (max-width: 1280px) { .fhs-shop-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .fhs-shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
	.fhs-shop--musinsa { padding: 8px 12px 48px; }
	.fhs-shop-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
	.fhs-filterbar__search input { width: 120px; }
	.fhs-chip-row { flex-direction: column; gap: 6px; }
	.fhs-cat-tab span { padding: 10px 12px; font-size: 14px; }
}

/* =========================================================
   장바구니 v2 (탭 · 선택주문 · 견적서)
   ========================================================= */
.fhs-cart2 { --fhs-c-border:#e5e7eb; --fhs-c-ink:#111; --fhs-c-sub:#6b7280; max-width: 1160px; margin: 0 auto; }
.fhs-cart2 .fhs-cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 32px; align-items: start; }

/* 탭 */
.fhs-cart-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--fhs-c-ink); }
.fhs-cart-tab { flex: 0 0 auto; padding: 12px 20px; border: 0; background: none; font-size: 15px; color: var(--fhs-c-sub); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.fhs-cart-tab.is-active { color: var(--fhs-c-ink); font-weight: 700; border-bottom-color: var(--fhs-c-ink); }
.fhs-cart-tab span { color: var(--fhs-c-sub); font-weight: 400; }

/* 리스트/패널 */
.fhs-cart2 .fhs-cart-list { list-style: none; margin: 0; padding: 0; }
.fhs-cart-panel { display: none; }
.fhs-cart-panel.is-active { display: block; }
.fhs-cart-sublist { list-style: none; margin: 0; padding: 0; }
.fhs-cart-empty-tab { padding: 48px 0; text-align: center; color: var(--fhs-c-sub); }

/* 행 */
.fhs-cart2 .fhs-cart-row { display: grid; grid-template-columns: 28px 88px 1fr auto auto 28px; align-items: center; gap: 14px; padding: 20px 4px; border-bottom: 1px solid var(--fhs-c-border); }
.fhs-cart-row__check { display: flex; align-items: center; justify-content: center; }
.fhs-cart-row__check input, .fhs-cart-selectall input { width: 18px; height: 18px; accent-color: var(--fhs-c-ink); }
.fhs-cart2 .fhs-cart-row__thumb { width: 88px; height: 88px; border-radius: 6px; overflow: hidden; background: #f7f7f7; }
.fhs-cart2 .fhs-cart-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.fhs-cart2 .fhs-cart-row__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fhs-cart2 .fhs-cart-row__name { font-size: 14px; font-weight: 600; color: var(--fhs-c-ink); }
.fhs-cart2 .fhs-cart-row__opt { font-size: 12px; color: var(--fhs-c-sub); }
.fhs-cart2 .fhs-cart-row__unit { font-size: 13px; color: var(--fhs-c-sub); }
.fhs-cart2 .fhs-cart-row__qty { display: inline-flex; align-items: center; border: 1px solid var(--fhs-c-border); border-radius: 4px; overflow: hidden; }
.fhs-cart2 .fhs-cart-qty { width: 30px; height: 32px; border: 0; background: #fff; cursor: pointer; font-size: 16px; }
.fhs-cart2 .fhs-cart-qtyinput { width: 40px; height: 32px; border: 0; border-left: 1px solid var(--fhs-c-border); border-right: 1px solid var(--fhs-c-border); text-align: center; font-size: 14px; -moz-appearance: textfield; }
.fhs-cart2 .fhs-cart-qtyinput::-webkit-outer-spin-button, .fhs-cart2 .fhs-cart-qtyinput::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fhs-cart2 .fhs-cart-row__sub { font-size: 15px; font-weight: 700; color: var(--fhs-c-ink); text-align: right; min-width: 90px; }
.fhs-cart2 .fhs-cart-row__del { border: 0; background: none; color: #b0b3b8; cursor: pointer; padding: 4px; }
.fhs-cart2 .fhs-cart-row__del:hover { color: var(--fhs-c-ink); }

/* 액션 바 */
.fhs-cart-actionbar { display: flex; align-items: center; gap: 12px; padding: 16px 4px; }
.fhs-cart-selectall { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.fhs-cart-btn { height: 36px; padding: 0 14px; border: 1px solid var(--fhs-c-border); border-radius: 4px; background: #fff; font-size: 13px; cursor: pointer; }
.fhs-cart-btn:hover { border-color: #999; }
.fhs-cart-quote { margin-left: auto; }

/* 요약 */
.fhs-cart2 .fhs-cart-summary { border: 1px solid var(--fhs-c-border); border-radius: 8px; padding: 20px; position: sticky; top: 20px; }
.fhs-cart-summary__coupon { display: flex; gap: 6px; margin-bottom: 8px; }
.fhs-cart-summary__coupon input { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--fhs-c-border); border-radius: 4px; padding: 0 10px; font-size: 13px; }
.fhs-cart-summary__coupon .fluxshop-btn { height: 38px; padding: 0 14px; border: 1px solid var(--fhs-c-ink); background: #fff; border-radius: 4px; cursor: pointer; font-size: 13px; }
.fhs-cart-summary__coupon-result { font-size: 12px; color: var(--fhs-c-sub); min-height: 0; }
.fhs-cart-summary__lines { margin: 14px 0; padding: 14px 0; border-top: 1px solid var(--fhs-c-border); border-bottom: 1px solid var(--fhs-c-border); }
.fhs-cart-summary__line { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.fhs-cart-summary__line dt { color: var(--fhs-c-sub); margin: 0; }
.fhs-cart-summary__line dd { margin: 0; font-weight: 600; }
.fhs-cart-summary__line--discount dd { color: var(--fhs-shop-accent, #ff3d3d); }
.fhs-cart-summary__total { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 18px; }
.fhs-cart-summary__total span { font-size: 15px; }
.fhs-cart-summary__total strong { font-size: 24px; font-weight: 800; }
.fhs-cart2 .fluxshop-btn--block { display: block; width: 100%; text-align: center; }
.fhs-cart-order-selected { height: 48px; border: 1px solid var(--fhs-c-ink); background: #fff; color: var(--fhs-c-ink); border-radius: 4px; font-size: 15px; font-weight: 700; cursor: pointer; margin-bottom: 8px; }
.fhs-cart-order-all { height: 52px; border: 0; background: var(--fhs-c-ink); color: #fff; border-radius: 4px; font-size: 16px; font-weight: 700; cursor: pointer; }
.fhs-cart-order-all:hover { background: #000; }

@media (max-width: 900px) {
	.fhs-cart2 .fhs-cart-layout { grid-template-columns: 1fr; }
	.fhs-cart2 .fhs-cart-summary { position: static; }
}
@media (max-width: 600px) {
	.fhs-cart2 .fhs-cart-row { grid-template-columns: 24px 64px 1fr 28px; row-gap: 10px; }
	.fhs-cart2 .fhs-cart-row__thumb { width: 64px; height: 64px; }
	.fhs-cart2 .fhs-cart-row__qty { grid-column: 2 / 4; }
	.fhs-cart2 .fhs-cart-row__sub { grid-column: 2 / 5; text-align: left; }
}

/* =========================================================
   장바구니 드로어 — 무신사 블랙 톤 정합 (WP-6 다듬기)
   ========================================================= */
.fhs-cart-drawer__count { background: #111; border-radius: 4px; }
.fhs-cart-drawer .fhs-mini-btn { border-radius: 4px; }
.fhs-cart-drawer .fhs-mini-btn--primary { background: #111; border-color: #111; }
.fhs-cart-drawer .fhs-mini-btn--primary:hover { background: #000; filter: none; }
.fhs-cart-drawer .fhs-mini-btn--ghost { border-color: #e0e0e0; color: #111; }
.fhs-cart-drawer__title { font-weight: 700; }

/* =========================================================
   테마 하드닝 — 임의 테마(다크/커스텀)에서의 간섭 차단
   ========================================================= */
/* 카테고리 탭: 테마가 label에 테두리/라운드/배경을 입히는 것 차단 (플랫 탭 유지) */
.fhs-shop--musinsa .fhs-cat-tab,
.fhs-shop--musinsa .fhs-cat-tab span { border-radius: 0; background: none; box-shadow: none; }
.fhs-shop--musinsa .fhs-cat-tab { border: 0; }
.fhs-shop--musinsa .fhs-cat-tab span { border: 0; border-bottom: 2px solid transparent; }
.fhs-shop--musinsa .fhs-cat-tab.is-active span,
.fhs-shop--musinsa .fhs-cat-tab input:checked + span { border-bottom-color: #111; }

/* PDP 상품명: 테마 h1 색상 override 방지 */
.fhs-pdp .fhs-sidebar__name { color: #111; }
/* 브랜드·옵션 라벨: 테마 라이트색 override 방지 */
.fhs-pdp .fhs-sidebar__brand { color: #111; }
.fhs-pdp .fhs-opt-field__label { color: #111; }
.fhs-pdp .fluxshop-product-detail__short-desc { color: #6b7280; }

/* 장바구니 주문 버튼: 무신사 블랙 톤 강제 (.fluxshop-btn--primary 파랑 override) */
.fhs-cart2 .fhs-cart-order-all { background: #111; color: #fff; border: 0; }
.fhs-cart2 .fhs-cart-order-all:hover { background: #000; }
.fhs-cart2 .fhs-cart-order-selected { background: #fff; color: #111; border: 1px solid #111; }

/* 상세 구매/장바구니 버튼도 동일 톤 보장 */
.fhs-pdp .fhs-sidebar__actions .fluxshop-btn--primary,
.fhs-pdp .fhs-sidebar__actions .fluxshop-btn--buy { background: #111; color: #fff; border-color: #111; }

/* 장바구니 요약 박스: 테마 aside 다크 배경/텍스트 차단 → 흰 표면 강제 */
.fhs-cart2 .fhs-cart-summary { background: #fff; }
.fhs-cart2 .fhs-cart-summary,
.fhs-cart2 .fhs-cart-summary * { color: #111; }
.fhs-cart2 .fhs-cart-summary__line dt { color: #6b7280; }
.fhs-cart2 .fhs-cart-summary__line--discount dd { color: #ff3d3d; }
.fhs-cart2 .fhs-cart-summary__coupon input { background: #fff; color: #111; }
.fhs-cart2 .fhs-cart-summary__coupon input::placeholder { color: #9ca3af; }
.fhs-cart2 .fhs-cart-order-all { color: #fff; }

/* 목록 정렬/카운트 가독성 */
.fhs-shop--musinsa .fhs-sort-select { color: #111; }
.fhs-shop--musinsa .fhs-cart-selectall,
.fhs-cart2 .fhs-cart-selectall { color: #111; }

/* =========================================================
   마이페이지 / 주문 내역 — 무신사식 클린 카드
   ========================================================= */
.fhs-account, .fhs-mypage { max-width: 1000px; margin: 0 auto; padding: 8px 16px 60px; }
.fhs-mypage-title, .fhs-account h2 { font-size: 20px; font-weight: 700; color: #111; margin: 0 0 20px; }

.fhs-orders { display: flex; flex-direction: column; gap: 16px; }
.fhs-order-card { border: 1px solid #ebebeb; border-radius: 8px; padding: 20px; background: #fff; }
.fhs-order-card__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #f4f4f4; margin-bottom: 14px; }
.fhs-order-card__meta { display: flex; gap: 12px; align-items: baseline; }
.fhs-order-card__no { font-size: 14px; font-weight: 700; color: #111; }
.fhs-order-card__date { font-size: 13px; color: #8a8a8a; }
.fhs-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; background: #f0f4ff; color: #2563eb; }
.fhs-badge--delivered, .fhs-badge--completed { background: #eef7ee; color: #1a8f3c; }
.fhs-badge--cancelled, .fhs-badge--refunded { background: #f5f5f5; color: #888; }
.fhs-badge--pending_payment { background: #fff4e5; color: #d97706; }

.fhs-order-card__items { display: flex; flex-direction: column; gap: 12px; }
.fhs-order-line { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 12px; }
.fhs-order-line__name { font-size: 14px; font-weight: 500; color: #111; }
.fhs-order-line__opt { color: #8a8a8a; font-weight: 400; margin-left: 6px; font-size: 12px; }
.fhs-order-line__qty { font-size: 13px; color: #8a8a8a; }
.fhs-order-line__price { font-size: 14px; font-weight: 700; color: #111; }
.fhs-order-line__reviewed { font-size: 12px; color: #8a8a8a; }

.fhs-order-card__ship { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f4f4f4; font-size: 13px; color: #666; }
.fhs-order-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid #f4f4f4; }
.fhs-order-card__total { font-size: 16px; font-weight: 800; color: #111; }
.fhs-order-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 무신사식 버튼 (계정/주문) */
.fhs-account .fhs-btn-sm, .fhs-mypage .fhs-btn-sm, .fhs-order-card .fhs-btn-sm {
	height: 40px; padding: 0 16px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; color: #111;
	font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.fhs-account .fhs-btn-sm:hover, .fhs-order-card .fhs-btn-sm:hover { border-color: #111; }
.fhs-account .fhs-btn-sm--primary, .fhs-order-card .fhs-btn-sm--primary { background: #111; color: #fff; border-color: #111; }
.fhs-account .fhs-btn-sm--primary:hover, .fhs-order-card .fhs-btn-sm--primary:hover { background: #000; }

/* 결제/할인 정보 박스 (주문 상세) */
.fhs-pay-info { border-top: 8px solid #f4f4f4; margin-top: 24px; padding-top: 24px; }
.fhs-pay-info__row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; }
.fhs-pay-info__row dt, .fhs-pay-info__row span:first-child { color: #666; }
.fhs-pay-info__row--discount span:last-child { color: #f31110; }
.fhs-pay-info__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 16px; border-top: 1px solid #ebebeb; }
.fhs-pay-info__total strong { font-size: 20px; font-weight: 800; color: #111; }

/* 계정 탭 네비 (fhs-account 좌측 탭) */
.fhs-account .fhs-tabnav a, .fhs-mypage .fhs-tabnav a { color: #666; }
.fhs-account .fhs-tabnav a.active, .fhs-mypage .fhs-tabnav a.active { color: #111; font-weight: 700; }

@media (max-width: 600px) {
	.fhs-order-line { grid-template-columns: 1fr auto; }
	.fhs-order-card__foot { flex-direction: column; align-items: stretch; gap: 12px; }
	.fhs-order-card__actions .fhs-btn-sm { flex: 1; }
}

/* 마이페이지 좌측 탭 네비 — 무신사식 클린(흰 배경). 기존 다크 규칙을 확실히 덮어씀 */
.fhs-account .fhs-account__nav { background: #fff !important; border: 1px solid #ebebeb; border-radius: 8px; overflow: hidden; padding: 0; }
.fhs-account .fhs-account__nav a { display: block; padding: 13px 18px; font-size: 14px; color: #444 !important; background: #fff !important; border-bottom: 1px solid #f4f4f4; text-decoration: none; }
.fhs-account .fhs-account__nav a:last-child { border-bottom: 0; }
.fhs-account .fhs-account__nav a:hover { background: #fafafa !important; }
.fhs-account .fhs-account__nav a.active, .fhs-account .fhs-account__nav a.is-active, .fhs-account .fhs-account__nav a[aria-current="page"] { background: #f7f7f7 !important; color: #111 !important; font-weight: 700; box-shadow: inset 3px 0 0 #111; }

/* 결제 정보 라벨 가독성 */
.fhs-pay-info__total span:first-child { color: #111; font-size: 15px; font-weight: 600; }
.fhs-pay-info__row span { color: #444; }
.fhs-pay-info__row span:first-child { color: #666; }

/* =========================================================
   주문 상세 (무신사 0165/0166)
   ========================================================= */
.fhs-order-detail__back { display: inline-block; font-size: 13px; color: #666; text-decoration: none; margin-bottom: 16px; }
.fhs-order-detail__top { padding-bottom: 20px; border-bottom: 1px solid #ebebeb; }
.fhs-order-detail__date { display: block; font-size: 20px; font-weight: 800; color: #111; }
.fhs-order-detail__no { font-size: 13px; color: #8a8a8a; }
.fhs-order-detail__ship { padding: 20px 0; border-bottom: 8px solid #f4f4f4; font-size: 14px; color: #444; line-height: 1.7; }
.fhs-order-detail__ship-name { font-weight: 700; color: #111; margin-bottom: 4px; }
.fhs-order-detail__block { padding: 24px 0; border-bottom: 8px solid #f4f4f4; }
.fhs-order-detail__block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fhs-order-detail__block-head h3 { font-size: 16px; font-weight: 700; color: #111; margin: 0; }
.fhs-order-detail__status { font-size: 14px; font-weight: 700; color: #2563eb; margin-bottom: 12px; }
.fhs-order-detail__item { display: flex; gap: 14px; padding: 12px 0; }
.fhs-order-detail__item-info { display: flex; flex-direction: column; gap: 3px; }
.fhs-order-detail__item-name { font-size: 14px; font-weight: 600; color: #111; }
.fhs-order-detail__item-opt { font-size: 12px; color: #8a8a8a; }
.fhs-order-detail__item-qty { font-size: 12px; color: #8a8a8a; }
.fhs-order-detail__item-price { font-size: 15px; font-weight: 700; color: #111; margin-top: 4px; }
.fhs-order-detail__actions { margin-top: 16px; }
.fhs-order-detail__confirm { width: 100%; height: 48px; font-size: 15px; margin-bottom: 8px; }
.fhs-order-detail__subactions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fhs-order-detail__subactions .fhs-btn-sm { width: 100%; }
.fhs-order-detail__receipt, .fhs-order-detail__pct { color: #f31110; }
.fhs-order-detail__pct { font-weight: 800; }
.fhs-order-detail__receipt { font-size: 13px; text-decoration: underline; color: #666; }
.fhs-order-benefit .fhs-pay-info__row span { color: #2563eb; }
.fhs-order-benefit .fhs-pay-info__row span:first-child { color: #666; }
.fhs-order-benefit__sum { font-weight: 800; }
@media (max-width: 600px) {
	.fhs-order-detail__subactions { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   최근 본 상품
   ========================================================= */
.fhs-recent { padding: 40px 0 8px; }
.fhs-recent__list { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.fhs-recent__item { flex: 0 0 160px; text-decoration: none; color: #111; }
.fhs-recent__thumb { display: block; aspect-ratio: 3/4; border-radius: 6px; overflow: hidden; background: #f7f7f7; }
.fhs-recent__thumb img { width: 100%; height: 100%; object-fit: cover; }
.fhs-recent__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.4; margin: 8px 0 4px; }
.fhs-recent__price { font-size: 13px; font-weight: 700; }

/* =========================================================
   모바일 하단 고정 구매바 (무신사 IMG_0168)
   ========================================================= */
.fhs-pdp-mobilebar { display: none; }
@media (max-width: 1024px) {
	.fhs-pdp-mobilebar { display: flex !important; flex-direction: row !important; align-items: stretch; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #ebebeb; box-shadow: 0 -2px 10px rgba(0,0,0,.08); }
	.fhs-pdp-mobilebar__wish { position: static !important; order: -1 !important; flex: 0 0 52px; min-width: 52px; height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 1px solid #e0e0e0; border-radius: 6px; background: #fff; color: #888; cursor: pointer; inset: auto; }
	.fhs-pdp-mobilebar__cart { order: 0 !important; }
	.fhs-pdp-mobilebar__buy { order: 1 !important; }
	.fhs-pdp-mobilebar__wish.active { color: #f31110; }
	.fhs-pdp-mobilebar__wish.active svg { fill: #f31110; }
	.fhs-pdp-mobilebar__wishcount { font-size: 11px; color: #888; }
	.fhs-pdp-mobilebar__cart { flex: 1; height: 52px; border: 1px solid #111; border-radius: 6px; background: #fff; color: #111; font-size: 15px; font-weight: 700; cursor: pointer; }
	.fhs-pdp-mobilebar__buy { flex: 1.6; height: 52px; border: 0; border-radius: 6px; background: #111; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
	.fhs-pdp-mobilebar__buy:disabled { background: #ccc; }
	.fhs-pdp { padding-bottom: 84px; }
}

/* =========================================================
   결제하기 (체크아웃) — 무신사식 화이트 서피스
   ========================================================= */
.fluxshop-checkout { background: #fff; color: #111; max-width: 1100px; margin: 0 auto; padding: 8px 16px 60px; border-radius: 8px; }
.fluxshop-checkout__layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 32px; align-items: start; }
.fluxshop-checkout .fluxshop-cart__title { font-size: 20px; font-weight: 700; color: #111; margin: 0 0 20px; }
.fluxshop-checkout .fhs-checkout-section { background: #fff !important; border: 1px solid #ebebeb !important; border-radius: 8px; padding: 20px 22px; margin-bottom: 16px; }
.fluxshop-checkout .fhs-checkout-section h3, .fluxshop-checkout .fhs-section-title { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 16px; }
.fhs-form-row { margin-bottom: 14px; }
.fhs-form-row label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; }
.fhs-form-row label .required { color: #f31110; }
.fhs-form-row input[type="text"], .fhs-form-row input[type="tel"], .fhs-form-row input[type="email"],
.fhs-form-row input[type="number"], .fhs-form-row select, .fhs-form-row textarea,
.fluxshop-checkout input[type="text"], .fluxshop-checkout input[type="tel"], .fluxshop-checkout input[type="email"] {
	width: 100%; height: 46px; border: 1px solid #e0e0e0; border-radius: 4px; padding: 0 14px; font-size: 14px; color: #111; background: #fff;
}
.fluxshop-checkout textarea { height: auto; min-height: 72px; padding: 12px 14px; }
.fhs-form-row--inline { display: flex; gap: 8px; }
/* 테마 다크 입력/요약 강제 화이트 */
.fluxshop-checkout input, .fluxshop-checkout select, .fluxshop-checkout textarea { background: #fff !important; color: #111 !important; border-color: #e0e0e0 !important; }
.fluxshop-checkout input::placeholder, .fluxshop-checkout textarea::placeholder { color: #9ca3af; }
.fluxshop-checkout .fhs-order-summary { background: #fff !important; border: 0 !important; padding: 0 !important; }
.fluxshop-checkout .fhs-pg-item.active { background: #fff !important; border-color: #111 !important; }
.fluxshop-checkout .fhs-order-item__name, .fluxshop-checkout .fhs-order-item__price, .fluxshop-checkout .fhs-pg-label { color: #111 !important; }
.fluxshop-checkout .fhs-total-row span { color: #444; }
.fluxshop-checkout .fhs-total-row--final span:first-child { color: #111 !important; }

/* PG 선택 */
.fhs-pg-list { display: flex; flex-direction: column; gap: 8px; }
.fhs-pg-item { display: flex; align-items: center; gap: 8px; border: 1px solid #e0e0e0; border-radius: 6px; padding: 14px 16px; cursor: pointer; }
.fhs-pg-item.active { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
.fhs-pg-label { font-size: 14px; color: #111; }

/* 우측 요약 */
.fluxshop-checkout__summary { position: sticky; top: 20px; background: #fff; border: 1px solid #ebebeb; border-radius: 8px; padding: 22px; }
.fluxshop-checkout__summary .fhs-section-title { margin-bottom: 16px; }
.fhs-order-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #eee; }
.fhs-order-item__name { flex: 1; font-size: 13px; color: #111; }
.fhs-order-item__price { font-size: 14px; font-weight: 700; color: #111; }
.fhs-order-total-rows { margin-top: 14px; }
.fhs-total-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; color: #444; }
.fhs-total-row span:first-child { color: #666; }
.fhs-summary-discount span:last-child, .fhs-summary-point span:last-child { color: #f31110; }
.fhs-total-row--final { border-top: 1px solid #ebebeb; padding-top: 14px; margin-top: 6px; align-items: baseline; }
.fhs-total-row--final span:first-child { color: #111; font-size: 15px; font-weight: 700; }
.fhs-total-row--final span:last-child, .fhs-summary-total { color: #f31110; font-size: 22px; font-weight: 800; }
/* 결제하기 버튼 — 무신사 블랙 */
.fluxshop-checkout .fluxshop-btn--primary { background: #111; border-color: #111; color: #fff; height: 52px; border-radius: 4px; font-size: 16px; font-weight: 700; }
.fluxshop-checkout .fluxshop-btn--primary:hover { background: #000; }
.fhs-checkout-agree { font-size: 12px; color: #888; text-align: center; margin-top: 10px; }
.fhs-checkout-agree a { color: #666; }

@media (max-width: 900px) {
	.fluxshop-checkout__layout { grid-template-columns: 1fr; }
	.fluxshop-checkout__summary { position: static; }
}

/* =========================================================
   공통 버튼 톤(무신사) — 스토어 전 페이지
   ========================================================= */
.fluxshop .fluxshop-btn--primary { background: #111 !important; border-color: #111 !important; color: #fff !important; border-radius: 4px; }
.fluxshop .fluxshop-btn--primary:hover { background: #000 !important; }
.fluxshop .fluxshop-btn--outline { background: #fff !important; border: 1px solid #d5d5d5 !important; color: #111 !important; border-radius: 4px; }
.fluxshop .fluxshop-btn--outline:hover { border-color: #111 !important; }

/* =========================================================
   주문 완료
   ========================================================= */
.fluxshop-order-complete { background: #fff; color: #111; max-width: 640px; margin: 0 auto; padding: 40px 20px 60px; text-align: center; border-radius: 8px; }
.fhs-complete-icon { width: 64px; height: 64px; margin: 0 auto 20px; color: #1a8f3c; }
.fluxshop-order-complete h1, .fluxshop-order-complete h2 { font-size: 22px; font-weight: 800; color: #111; }
.fhs-order-number { font-size: 14px; color: #666; margin: 8px 0 28px; }
.fhs-complete-summary { text-align: left; border: 1px solid #ebebeb; border-radius: 8px; padding: 20px; margin-bottom: 24px; }
.fhs-complete-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: #444; }
.fhs-complete-row span:first-child { color: #666; }
.fhs-complete-actions { display: flex; gap: 8px; justify-content: center; }
.fhs-complete-actions .fluxshop-btn { height: 48px; padding: 0 24px; }

/* =========================================================
   배송 조회
   ========================================================= */
.fluxshop-order-tracking { background: #fff; color: #111; max-width: 720px; margin: 0 auto; padding: 20px 16px 60px; border-radius: 8px; }
.fhs-tracking-card { border: 1px solid #ebebeb; border-radius: 8px; padding: 20px; margin-bottom: 16px; background: #fff; }
.fhs-tracking-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fhs-order-num { font-size: 14px; font-weight: 700; color: #111; }

/* =========================================================
   마이페이지 하위탭 (쿠폰/적립금/예치금/세금계산서/리뷰/클레임/다운로드/찜)
   ========================================================= */
.fhs-account .fhs-mypage-section { background: #fff; }
.fhs-account .fhs-mypage-title { font-size: 20px; font-weight: 700; color: #111; margin: 0 0 20px; }
.fhs-account .fhs-mypage-table, .fhs-account .fluxshop-table, .fhs-account .fhs-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.fhs-account .fhs-mypage-table th, .fhs-account .fluxshop-table th, .fhs-account .fhs-table th { background: #fafafa !important; color: #444 !important; font-weight: 600; padding: 12px 14px; border-bottom: 1px solid #ebebeb; text-align: left; }
.fhs-account .fhs-mypage-table td, .fhs-account .fluxshop-table td, .fhs-account .fhs-table td { color: #111 !important; padding: 14px; border-bottom: 1px solid #f4f4f4; }
.fhs-account .fhs-coupon-card { background: #fff !important; border: 1px solid #ebebeb !important; border-radius: 8px; padding: 18px; color: #111; }
.fhs-account .fhs-points-balance, .fhs-account .fhs-deposit-balance { background: #fff !important; border: 1px solid #ebebeb; border-radius: 8px; padding: 24px; text-align: center; }
.fhs-account .fhs-points-label { color: #666 !important; font-size: 14px; }
.fhs-account .fhs-points-amount { color: #111 !important; font-size: 30px; font-weight: 800; }
.fhs-account .fhs-empty { color: #8a8a8a; text-align: center; padding: 48px 0; }
.fhs-account .fhs-field label { color: #666; }
.fhs-account .fhs-field input, .fhs-account .fhs-field select, .fhs-account .fhs-field textarea { background: #fff !important; color: #111 !important; border: 1px solid #e0e0e0 !important; border-radius: 4px; }

/* =========================================================
   구독 요금표
   ========================================================= */
.fluxshop-pricing-table { background: transparent; color: #111; max-width: 1100px; margin: 0 auto; padding: 8px 16px 40px; }

/* =========================================================
   무신사 목록 카드 1:1 (.fhs-mcard)
   ========================================================= */
.fhs-shop-grid { grid-template-columns: repeat(5, 1fr); gap: 40px 16px; }
.fhs-mcard { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.fhs-mcard:hover { box-shadow: none; transform: none; }
.fhs-mcard__thumb { display: block; position: relative; aspect-ratio: 5 / 6; border-radius: 6px; overflow: hidden; background: #f6f6f6; }
.fhs-mcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.fhs-mcard__thumb:hover img { transform: scale(1.03); }
/* 배지 좌하단 (무신사 멤버스데이 스타일) */
.fhs-mcard__badge { position: absolute; left: 0; bottom: 0; background: #1a1a1a; color: #fff; font-size: 11px; font-weight: 500; line-height: 1; padding: 5px 7px; }
/* 액션: 우하단 하트(상시) + 장바구니(호버) */
.fhs-mcard__actions { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 4px; align-items: center; }
.fhs-mcard__heart, .fhs-mcard__cart { width: 30px; height: 30px; border: 0; background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.fhs-mcard__heart svg, .fhs-mcard__cart svg { width: 22px; height: 22px; }
.fhs-mcard__heart.active { color: #f31110; }
.fhs-mcard__heart.active svg { fill: #f31110; }
.fhs-mcard__cart { opacity: 0; transition: opacity .15s; }
.fhs-mcard:hover .fhs-mcard__cart { opacity: 1; }
/* 본문 */
.fhs-mcard__body { padding: 10px 1px 0; }
.fhs-mcard__brand { font-size: 11px; font-weight: 600; color: #000 !important; margin: 0 0 3px; }
.fhs-mcard__name { font-size: 13px; font-weight: 400; line-height: 1.35; margin: 0 0 6px; }
.fhs-mcard__name a { color: #000 !important; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fhs-mcard__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin: 0 0 5px; }
.fhs-mcard__discount { font-size: 13px; font-weight: 600; color: #f31110; }
.fhs-mcard__cur { font-size: 13px; font-weight: 600; color: #000; }
.fhs-mcard__cycle { font-size: 12px; color: #8a8a8a; }
.fhs-mcard__meta { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 11px; }
.fhs-mcard__likes { color: #f31110; }
.fhs-mcard__rating { color: rgb(250,146,0); }
.fhs-mcard__rcount { color: rgb(250,146,0); }
@media (max-width: 1280px) { .fhs-shop-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .fhs-shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .fhs-shop-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 10px; } }
