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

/* ===================
   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;
	}
}
