/*
Theme Name: Fashion Store Child
Description: Astra child theme cho cửa hàng thời trang (Fashion WooCommerce Starter). Phong cách editorial tối giản kiểu thương hiệu thời trang cao cấp: đen-trắng thuần, chữ in hoa giãn chữ, không viền/bo góc, ảnh là điểm nhấn. Trang chủ không có hero banner mà dùng các ô danh mục full-bleed. Header, form, spacing dùng nguyên bản Astra; ở đây chỉ chỉnh bảng màu/typography/WooCommerce qua CSS (xem thêm scripts/theme-setup.php).
Template: astra
Version: 3.13.0
Text Domain: fashion-child
*/

:root {
	--fs-black: #111111;
	--fs-gray: #777777;
	--fs-line: #e8e8e8;
	--fs-bg: #ffffff;
	--fs-white: #ffffff;
	--fs-sale: #c8102e;
	--fs-font-heading: 'Jost', 'Helvetica Neue', Arial, sans-serif;
	--fs-font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

body {
	-webkit-font-smoothing: antialiased;
}

/* ---------- Header: tối giản, chữ in hoa giãn chữ ---------- */
.ast-primary-header-bar,
.main-header-bar {
	border-bottom: 1px solid var(--fs-line);
	background: var(--fs-white);
}

.site-title a,
.site-title {
	font-family: var(--fs-font-heading);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	color: var(--fs-black);
}

.main-header-menu > .menu-item > .menu-link,
.ast-builder-menu .menu-link {
	font-family: var(--fs-font-heading);
	font-size: 0.78rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--fs-black);
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .menu-item.current-menu-item > .menu-link {
	color: var(--fs-black);
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
}

.main-header-menu .sub-menu {
	border: 1px solid var(--fs-line);
	box-shadow: none;
	border-radius: 0;
}

/* ---------- Nút: phẳng, vuông, chữ in hoa ---------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button__link,
button,
input[type="submit"] {
	border-radius: 0;
	font-family: var(--fs-font-heading);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

/* ---------- Cổng danh mục trang chủ (thay hero banner) ---------- */
.fs-gateway {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2px;
	margin: 0 0 3em;
	/* Tràn hết bề rộng khung nội dung, kiểu ảnh editorial full-bleed. */
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
}

.fs-gateway--1 { grid-template-columns: 1fr; }
.fs-gateway--3 { grid-template-columns: repeat(3, 1fr); }
.fs-gateway--4,
.fs-gateway--5 { grid-template-columns: repeat(2, 1fr); }

.fs-gateway__tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	aspect-ratio: 4 / 5;
	padding: 2em;
	background: #1a1a1a center / cover no-repeat;
	text-decoration: none;
	overflow: hidden;
}

.fs-gateway__tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 55%);
	transition: opacity 0.3s ease;
}

.fs-gateway__tile:hover::before { opacity: 0.6; }

.fs-gateway__label {
	position: relative;
	z-index: 1;
	color: var(--fs-white);
	font-family: var(--fs-font-heading);
	font-weight: 400;
	font-size: clamp(1.2rem, 2.4vw, 2rem);
	text-transform: uppercase;
	letter-spacing: 0.3em;
}

@media (min-width: 1100px) {
	.fs-gateway--4 { grid-template-columns: repeat(4, 1fr); }
	.fs-gateway--4 .fs-gateway__tile { aspect-ratio: 3 / 4; }

	/* 5 ô: hàng trên 2 ô rộng, hàng dưới 3 ô — không bị lẻ ô */
	.fs-gateway--5 { grid-template-columns: repeat(6, 1fr); }
	.fs-gateway--5 .fs-gateway__tile { grid-column: span 2; aspect-ratio: 3 / 4; }
	.fs-gateway--5 .fs-gateway__tile:nth-child(-n+2) { grid-column: span 3; aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
	.fs-gateway__tile { padding: 1.1em; aspect-ratio: 3 / 4; }
	.fs-gateway__label { font-size: 0.95rem; letter-spacing: 0.22em; }
}

/* ---------- Thẻ mã khuyến mãi ---------- */
.fs-promos { margin: 0 0 3.5em; }

.fs-promos__heading,
.fs-shop-heading {
	font-family: var(--fs-font-heading);
	font-size: 0.85rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	text-align: center;
	color: var(--fs-black);
	margin: 0 0 1.6em;
}

.fs-promos__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

.fs-promo {
	display: flex;
	flex-direction: column;
	gap: 0.35em;
	padding: 1.1em 1.2em;
	border: 1px solid var(--fs-line);
}

.fs-promo__title {
	font-family: var(--fs-font-heading);
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--fs-black);
}

.fs-promo__note {
	font-size: 0.78rem;
	color: var(--fs-gray);
	min-height: 2.4em;
}

.fs-promo__copy {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 0.6em;
	padding: 0.6em 0.9em;
	background: transparent;
	color: var(--fs-black);
	border: 1px dashed var(--fs-black);
	cursor: pointer;
	letter-spacing: 0.1em;
}

.fs-promo__copy:hover { background: var(--fs-black); color: var(--fs-white); }
.fs-promo__code { font-weight: 600; font-size: 0.8rem; }
.fs-promo__action { font-size: 0.7rem; opacity: 0.8; }

/* ---------- Lưới sản phẩm: không viền, ảnh là chính ---------- */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 36px 14px !important;
	margin-bottom: 3.5em !important;
}

@media (max-width: 992px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 28px 8px !important;
	}
}

.woocommerce ul.products li.product {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
	overflow: visible;
}

/* Khung ảnh tỉ lệ 3:4 (khớp kích thước crop trong functions.php) */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: #f4f4f4;
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap a.woocommerce-LoopProduct-link {
	position: absolute;
	inset: 0;
	display: block;
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	margin: 0 !important;
	transition: opacity 0.45s ease !important;
}

/* Ảnh thứ hai chỉ hiện khi rê chuột (thiết bị có hover) */
.woocommerce ul.products li.product img.fs-hover-img { opacity: 0; }

@media (hover: hover) {
	.woocommerce ul.products li.product:hover img.fs-hover-img { opacity: 1; }
}

/* Ẩn nút túi tròn phụ đè lên góc ảnh, giữ nút chính ở đáy thẻ */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap .ast-on-card-button:not(.ast-onsale-card) {
	display: none !important;
}

/* Badge giảm giá: nhãn chữ nhỏ, không bo */
.woocommerce ul.products li.product .ast-onsale-card,
.woocommerce ul.products li.product span.onsale {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--fs-black) !important;
	color: var(--fs-white) !important;
	font-family: var(--fs-font-heading);
	font-size: 0.68rem !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.14em !important;
	padding: 0.35em 0.8em !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	z-index: 3;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	padding: 0.9em 0 0 !important;
	text-align: left;
}

.woocommerce ul.products li.product .ast-woo-product-category {
	font-size: 0.66rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.16em !important;
	color: var(--fs-gray) !important;
	margin-bottom: 0.3em !important;
}

/* Tiêu đề: giữ cố định 2 dòng để giá/nút luôn thẳng hàng */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--fs-font-heading) !important;
	font-size: 0.82rem !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	line-height: 1.45 !important;
	height: 2.9em !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	margin: 0 0 0.35em !important;
	color: var(--fs-black) !important;
}

.woocommerce ul.products li.product .review-rating {
	margin: 0 0 0.4em !important;
	height: 1.2em !important;
	display: flex !important;
	align-items: center !important;
}

.woocommerce ul.products li.product .star-rating {
	font-size: 0.8em !important;
	color: var(--fs-black) !important;
}

.woocommerce ul.products li.product .price {
	display: flex !important;
	align-items: baseline !important;
	gap: 0.6em !important;
	min-height: 1.6em !important;
	margin-bottom: 0.9em !important;
	font-size: 0.85rem !important;
	font-weight: 400 !important;
	letter-spacing: 0.04em;
	color: var(--fs-black) !important;
}

/* Giá cũ gạch ngang (mọi nơi, kể cả giỏ trượt Modern Cart) */
.woocommerce .price del,
.woocommerce del,
#moderncart-slide-out del,
.moderncart-slide-out-recommendations del {
	color: var(--fs-gray) !important;
	opacity: 1 !important;
	font-weight: 400 !important;
	text-decoration: line-through !important;
}

/* Giá sau giảm */
.woocommerce .price ins,
.woocommerce div.product p.price ins,
.woocommerce div.product .price ins {
	color: var(--fs-sale) !important;
	text-decoration: none !important;
	font-weight: 500 !important;
}

/* Ẩn bảng chọn size/màu ngoài trang danh mục (khách vào chi tiết sẽ chọn) */
.woocommerce ul.products li.product .cfvsw-shop-variations { display: none !important; }

/* Nút ở thẻ sản phẩm: viền mảnh, hover đổi đen. Giữ chiều cao đồng đều. */
.woocommerce ul.products li.product .astra-shop-summary-wrap .button,
.woocommerce ul.products li.product .astra-shop-summary-wrap .add_to_cart_button {
	margin-top: auto !important;
	width: 100% !important;
	min-height: 40px !important;
	padding: 0 12px !important;
	display: inline-flex !important;
	justify-content: center !important;
	align-items: center !important;
	box-sizing: border-box !important;
	background: var(--fs-white) !important;
	color: var(--fs-black) !important;
	border: 1px solid var(--fs-black) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: var(--fs-font-heading) !important;
	font-size: 0.72rem !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.16em !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease !important;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap .button:hover,
.woocommerce ul.products li.product .astra-shop-summary-wrap .add_to_cart_button:hover {
	background: var(--fs-black) !important;
	color: var(--fs-white) !important;
}

/* Màn hình hẹp: chữ nút nhỏ lại để khỏi tràn thẻ 2 cột */
@media (max-width: 768px) {
	.woocommerce ul.products li.product .astra-shop-summary-wrap .button,
	.woocommerce ul.products li.product .astra-shop-summary-wrap .add_to_cart_button {
		font-size: 0.66rem !important;
		letter-spacing: 0.1em !important;
		padding: 0 6px !important;
	}
}

/* Link "View cart" thừa: đã có giỏ trượt tự mở */
.woocommerce ul.products li.product .astra-shop-summary-wrap .added_to_cart { display: none !important; }

.woocommerce ul.products li.product .astra-shop-summary-wrap .button.loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
}

/* ---------- My Account: khung đăng nhập gọn, căn giữa ---------- */
.woocommerce-account .woocommerce {
	max-width: 420px;
	margin: 0 auto 3em;
	background: var(--fs-white);
	border: 1px solid var(--fs-line);
	padding: 2.5em 2.5em 2em;
}

.woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.85em;
}

.woocommerce-account .woocommerce-form-login__submit {
	width: 100%;
	margin-top: 0.5em;
}

.woocommerce-account .woocommerce-LostPassword {
	display: block;
	margin-top: 1.5em;
	text-align: center;
	font-size: 0.85em;
}

/* ---------- Color Swatches & Size Buttons (Trang chi tiết sản phẩm) ---------- */
.woocommerce div.product form.cart table.variations {
	width: 100% !important;
	border: none !important;
	border-collapse: separate !important;
	border-spacing: 0 14px !important;
	margin: 0.8em 0 1.4em !important;
}

.woocommerce div.product form.cart table.variations tr {
	border: none !important;
}

.woocommerce div.product form.cart table.variations th.label,
.woocommerce div.product form.cart table.variations td.label {
	width: 90px !important;
	padding: 0 12px 0 0 !important;
	vertical-align: middle !important;
	text-align: left !important;
}

.woocommerce div.product form.cart table.variations th.label label {
	font-family: var(--fs-font-heading, inherit) !important;
	font-weight: 700 !important;
	font-size: 0.82rem !important;
	color: var(--fs-black, #1c1c1c) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	margin: 0 !important;
}

.woocommerce div.product form.cart table.variations td.value {
	vertical-align: middle !important;
	padding: 0 !important;
}

.cfvsw-swatches-container {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 12px !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 4px 2px !important;
}

/* ==========================================================================
   VÒNG TRÒN MÀU SẮC (Color Swatches) — Chuẩn sang trọng, kích thước chuẩn 34px
   ========================================================================== */
.cfvsw-swatches-container .cfvsw-swatches-option.cfvsw-color-option,
.cfvsw-swatches-container[swatches-attr*="color"] .cfvsw-swatches-option,
.cfvsw-swatches-container .cfvsw-swatches-option:not(.cfvsw-label-option):not(.cfvsw-image-option) {
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	min-height: 34px !important;
	max-width: 34px !important;
	max-height: 34px !important;
	border-radius: 50% !important;
	padding: 3px !important;
	border: 1.5px solid #d5cec5 !important;
	background: #ffffff !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	flex: 0 0 34px !important;
	flex-shrink: 0 !important;
	position: relative !important;
	overflow: visible !important;
	transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* Chấm màu tròn bên trong: lấp đầy và sắc nét */
.cfvsw-swatches-container .cfvsw-swatches-option.cfvsw-color-option .cfvsw-swatch-inner,
.cfvsw-swatches-container[swatches-attr*="color"] .cfvsw-swatches-option .cfvsw-swatch-inner,
.cfvsw-swatches-container .cfvsw-swatches-option:not(.cfvsw-label-option):not(.cfvsw-image-option) .cfvsw-swatch-inner {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	border-radius: 50% !important;
	border: 1px solid rgba(0, 0, 0, 0.12) !important; /* Viền mờ giúp màu trắng/be không bị chìm */
	box-sizing: border-box !important;
	pointer-events: none !important;
}

/* Hover: Phóng to nhẹ, bóng đổ thời trang */
.cfvsw-swatches-container .cfvsw-swatches-option.cfvsw-color-option:hover,
.cfvsw-swatches-container[swatches-attr*="color"] .cfvsw-swatches-option:hover,
.cfvsw-swatches-container .cfvsw-swatches-option:not(.cfvsw-label-option):not(.cfvsw-image-option):hover {
	transform: scale(1.15) !important;
	border-color: #1c1c1c !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18) !important;
}

/* Trạng thái được chọn (Selected): Vòng viền kép sang trọng kiểu Zara/Apple */
.cfvsw-swatches-container .cfvsw-swatches-option.cfvsw-color-option.cfvsw-selected-swatch,
.cfvsw-swatches-container[swatches-attr*="color"] .cfvsw-swatches-option.cfvsw-selected-swatch,
.cfvsw-swatches-container .cfvsw-swatches-option:not(.cfvsw-label-option):not(.cfvsw-image-option).cfvsw-selected-swatch {
	border-color: #1c1c1c !important;
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--fs-black, #1c1c1c) !important;
	transform: scale(1.08) !important;
	z-index: 2 !important;
}

/* ==========================================================================
   NÚT KÍCH THƯỚC (Size Labels) — Tinh gọn, hiện đại
   ========================================================================== */
.cfvsw-swatches-container .cfvsw-swatches-option.cfvsw-label-option {
	border-radius: 4px !important;
	min-width: 42px !important;
	height: 36px !important;
	line-height: 33px !important;
	padding: 0 14px !important;
	font-family: var(--fs-font-heading, inherit) !important;
	font-weight: 600 !important;
	font-size: 0.85rem !important;
	border: 1.5px solid #d5cec5 !important;
	background: #ffffff !important;
	color: var(--fs-black, #1c1c1c) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
	transition: all 0.2s ease !important;
}

.cfvsw-swatches-container .cfvsw-swatches-option.cfvsw-label-option:hover {
	border-color: var(--fs-black, #1c1c1c) !important;
	color: var(--fs-black, #1c1c1c) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.cfvsw-swatches-container .cfvsw-swatches-option.cfvsw-label-option.cfvsw-selected-swatch {
	background: var(--fs-black, #1c1c1c) !important;
	color: #ffffff !important;
	border-color: var(--fs-black, #1c1c1c) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16) !important;
}

/* Nút xóa lựa chọn (Clear variations) */
.woocommerce div.product form.cart table.variations a.reset_variations {
	display: inline-block !important;
	margin-top: 8px !important;
	font-size: 0.78rem !important;
	color: #888888 !important;
	text-decoration: underline !important;
	cursor: pointer !important;
	transition: color 0.2s ease !important;
}

.woocommerce div.product form.cart table.variations a.reset_variations:hover {
	color: var(--fs-black, #1c1c1c) !important;
}

/* Tooltip hiển thị tên màu */
.cfvsw-tooltip {
	z-index: 99999 !important;
	background: #1c1c1c !important;
	color: #ffffff !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	letter-spacing: 0.03em !important;
	padding: 4px 9px !important;
	border-radius: 4px !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
	border: none !important;
	pointer-events: none !important;
}

.cfvsw-tooltip::before {
	border: none !important;
	background: #1c1c1c !important;
}



/* ---------- Checkout / Cart (WooCommerce Blocks) trên mobile ---------- */
/* Astra cho .alignwide margin âm 2 bên (-20px) nhưng block vẫn giữ width 100%,
   nên cả form bị đẩy dính mép trái và hở 40px bên phải. Trả về margin 0. */
@media (max-width: 921px) {
	.entry-content .wp-block-woocommerce-checkout.alignwide,
	.entry-content .wp-block-woocommerce-cart.alignwide {
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
	}
}

@media (max-width: 768px) {
	.woocommerce-checkout .entry-header,
	.woocommerce-cart .entry-header {
		margin-bottom: 0.5em !important;
	}

	.wc-block-checkout .wc-block-components-checkout-step {
		margin-bottom: 1.75em !important;
	}

	.wc-block-checkout .wc-block-components-checkout-step__title {
		font-size: 1.15rem !important;
	}

	/* Nút Đặt hàng / Thanh toán: to, dễ bấm bằng ngón cái */
	.wc-block-components-checkout-place-order-button,
	.wc-block-cart__submit-button {
		width: 100% !important;
		min-height: 54px !important;
		font-size: 1rem !important;
		font-weight: 600 !important;
		border-radius: 0 !important;
	}

	.wc-block-checkout__actions_row {
		flex-direction: column-reverse !important;
		align-items: stretch !important;
		gap: 12px !important;
	}

	.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button {
		justify-content: center !important;
		padding: 0.5em 0 !important;
	}
}

/* ---------- Chuẩn hoá tỉ lệ ảnh sản phẩm 3:4 ở mọi nơi ----------
   File ảnh đã được crop 3:4 (functions.php), phần CSS này giữ khung cố định cả khi
   ảnh cũ chưa regenerate hoặc plugin chèn ảnh size khác, để layout không nhảy. */
.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images .woocommerce-product-gallery__image a img {
	width: 100% !important;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: #f5f5f5;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Ảnh trong giỏ hàng / checkout / block "New in store" (WooCommerce Blocks) và giỏ trượt Modern Cart */
.wc-block-grid__product-image img,
.wc-block-components-product-image img,
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img,
#moderncart-slide-out img.attachment-woocommerce_thumbnail,
#moderncart-slide-out .moderncart-cart-item-image img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	height: auto !important;
}

/* Ảnh đại diện bài viết blog: ngang 16:9 thống nhất */
.ast-article-post .post-thumb img,
.ast-article-single .post-thumb img,
.single .ast-single-post-featured-section img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* ======================================================================
   Phong cách "Feng": chữ condensed đậm, header trong suốt đè lên ảnh,
   cổng danh mục full màn hình, footer đen.
   ====================================================================== */
:root {
	--fs-font-heading: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
}

.main-header-menu > .menu-item > .menu-link,
.ast-builder-menu .menu-link,
.site-title a,
.site-title {
	font-weight: 600;
	letter-spacing: 0.1em;
}
.site-title a, .site-title { font-size: 1.9rem; letter-spacing: 0.12em; }

/* Trang chủ: header trong suốt nằm đè lên ảnh, chữ trắng */
body.home .site-header,
body.home .ast-primary-header-bar,
body.home .main-header-bar {
	position: absolute;
	left: 0; right: 0; top: 0;
	z-index: 20;
	width: 100%;
	background: transparent !important;
	border-bottom: 0;
}
body.home .site-title a,
body.home .site-title,
body.home .main-header-menu > .menu-item > .menu-link,
body.home .ast-builder-menu .menu-link,
body.home .ast-header-search svg,
body.home .ast-header-search .ast-icon svg {
	color: #fff;
	fill: #fff;
}
body.home .main-header-menu > .menu-item > .menu-link:hover { color: #fff; }
body.home #content.site-content,
body.home .site-content > .ast-container { padding-top: 0; }
body.home .site-content .ast-container { max-width: none; padding-left: 0; padding-right: 0; }
body.home .woocommerce-products-header,
body.home .fs-promos,
body.home .fs-shop-heading,
body.home ul.products { margin-left: auto; margin-right: auto; }

/* Cổng danh mục: 2 ô đầu chiếm trọn màn hình đầu tiên */
.fs-gateway { gap: 0; margin-bottom: 4em; }
.fs-gateway__tile::before { background: linear-gradient(0deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 40%); }
.fs-gateway__tile { padding: 1.6em 1.8em; }
.fs-gateway__label {
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.12em;
}
@media (min-width: 1100px) {
	.fs-gateway--5 .fs-gateway__tile:nth-child(-n+2) {
		aspect-ratio: auto;
		height: 100vh;
		min-height: 560px;
	}
}
@media (max-width: 1099px) {
	.fs-gateway__tile:nth-child(-n+2) { aspect-ratio: auto; height: 100svh; }
	.fs-gateway { grid-template-columns: 1fr 1fr; }
	.fs-gateway__tile:nth-child(-n+2) { height: 85svh; }
}

/* Tiêu đề khối: condensed, in hoa */
.fs-promos__heading,
.fs-shop-heading,
h1, h2, h3, h4 { font-weight: 600; letter-spacing: 0.06em; }

/* Footer đen chữ trắng */
.site-footer,
.site-footer .ast-builder-grid-row-container,
.site-below-footer-wrap,
.site-primary-footer-wrap,
.site-above-footer-wrap {
	background: #000 !important;
	color: #fff;
	border-color: #222 !important;
}
.site-footer a, .site-footer p, .site-footer .widget-title,
.site-footer .ast-footer-copyright { color: #fff; }
.site-footer a:hover { text-decoration: underline; }

body.home .content-area { margin-top: 0 !important; }
body.home .site-header.fs-solid .ast-primary-header-bar,
body.home .site-header.fs-solid .main-header-bar { background: #000 !important; }
body.home .site-header { position: fixed; }

body.home .ast-woocommerce-container > :not(.fs-gateway) {
	padding-left: clamp(16px, 3vw, 48px);
	padding-right: clamp(16px, 3vw, 48px);
	box-sizing: border-box;
}
body.home .woocommerce-result-count,
body.home .woocommerce-ordering { display: none; }

/* Mobile: nút menu / tìm kiếm trắng, có bóng nhẹ để đọc được trên ảnh sáng */
body.home .ast-button-wrap .menu-toggle,
body.home .ast-button-wrap .menu-toggle .ast-mobile-svg,
body.home .ast-mobile-menu-buttons svg,
body.home .ast-header-search svg { color: #fff; fill: #fff; }
body.home .site-title a,
body.home .main-header-menu > .menu-item > .menu-link,
body.home .ast-mobile-menu-buttons svg { text-shadow: 0 1px 6px rgba(0,0,0,.45); filter: drop-shadow(0 1px 4px rgba(0,0,0,.45)); }
@media (max-width: 600px) {
	.fs-gateway__tile:nth-child(-n+2) { height: 78svh; }
}

h1, h2, h3, h4, .related.products > h2, .up-sells > h2 { font-family: var(--fs-font-heading); }

/* Logo HAYÏCHU: bản đỏ ở trang thường, bản trắng (đảo màu) khi header trong suốt trên trang chủ */
.custom-logo-link img { width: auto; max-height: 34px; }
body.home .site-header:not(.fs-solid) .custom-logo-link img { filter: brightness(0) invert(1); }
body.home .site-header.fs-solid .custom-logo-link img { filter: brightness(0) invert(1); }

.site-branding .site-title, .site-branding .site-description { display: none !important; }

.fs-gateway__tile:nth-child(-n+2)::after { content:""; position:absolute; left:0; right:0; top:0; height:140px; background:linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0)); pointer-events:none; }

/* Popup đăng ký email */
.fs-popup[hidden] { display: none; }
.fs-popup { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); padding: 16px; }
.fs-popup__box { position: relative; background: #fff; color: #111; width: 100%; max-width: 420px; padding: 44px 32px 32px; text-align: center; }
.fs-popup__close { position: absolute; top: 6px; right: 12px; background: none !important; border: 0; font-size: 28px; line-height: 1; color: #111 !important; padding: 4px 8px; cursor: pointer; }
.fs-popup__title { margin: 0 0 10px; font-size: 1.8rem; text-transform: uppercase; letter-spacing: .08em; }
.fs-popup__text { margin: 0 0 20px; color: #555; }
.fs-popup__form { display: flex; flex-direction: column; gap: 10px; }
.fs-popup__form input[type=email] { border: 1px solid #111; border-radius: 0; padding: 12px; text-align: center; }
.fs-popup__form button { background: #000; color: #fff; border: 0; padding: 13px; cursor: pointer; }
.fs-popup__hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.fs-popup__msg { margin: 12px 0 0; min-height: 1.2em; font-size: .9rem; }

/* 3 bộ sưu tập: 3 cột, mỗi cột cao trọn màn hình đầu tiên */
@media (min-width: 1100px) {
	.fs-gateway--3 .fs-gateway__tile { aspect-ratio: auto; height: 100vh; min-height: 560px; }
}
@media (max-width: 1099px) {
	.fs-gateway--3 .fs-gateway__tile:nth-child(3) { grid-column: span 2; height: 70svh; }
}
.fs-gateway--3 .fs-gateway__tile:nth-child(3)::after { content:""; position:absolute; left:0; right:0; top:0; height:140px; background:linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0)); pointer-events:none; }

/* Mục Press */
.fs-press { margin: 5em 0 3em; }
.fs-press__heading { text-align: center; font-size: 1rem; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 2em; }
.fs-press__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.fs-press__item { margin: 0; }
.fs-press__item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.fs-press__item figcaption { margin-top: 8px; font-family: var(--fs-font-heading); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #555; }
@media (min-width: 900px) { .fs-press__list { grid-template-columns: repeat(7, 1fr); } }

/* Dropdown menu: nền đen, chữ trắng (header trang chủ chữ trắng nên cần nền riêng) */
.main-header-menu .sub-menu,
.ast-desktop .main-header-menu .sub-menu {
	background: #000 !important;
	border: 0 !important;
	min-width: 200px;
}
.main-header-menu .sub-menu .menu-link,
.ast-desktop .main-header-menu .sub-menu .menu-link {
	color: #fff !important;
	background: transparent !important;
	border: 0 !important;
	padding: 12px 20px;
}
.main-header-menu .sub-menu .menu-item:hover > .menu-link,
.main-header-menu .sub-menu .current-menu-item > .menu-link { text-decoration: underline; text-underline-offset: 6px; }

.fs-custom-size { margin: 14px 0 20px; }
.fs-custom-size a { display: inline-block; border: 1px solid #111; padding: 12px 18px; font-family: var(--fs-font-heading); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: #111; text-decoration: none; }
.fs-custom-size a:hover { background: #111; color: #fff; }
.fs-custom-size span { display: block; margin-top: 6px; font-size: .8rem; color: #777; }

/* Trang Size Guide */
.fs-sg { max-width: 860px; margin: 0 auto; padding: 1em 0 3em; color: #111; }
.fs-sg__lead { font-size: 1.1rem; line-height: 1.7; color: #333; margin-bottom: 3em; }
.fs-sg__h { font-size: 1rem; text-transform: uppercase; letter-spacing: .2em; margin: 0 0 1.4em; padding-bottom: .8em; border-bottom: 1px solid #111; }
.fs-sg__table-wrap { overflow-x: auto; }
.fs-sg__table { width: 100%; border-collapse: collapse; text-align: center; margin: 0; }
.fs-sg__table th { font-family: var(--fs-font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; padding: 14px 10px; background: #000; color: #fff; border: 0; }
.fs-sg__table td { padding: 16px 10px; border: 0; border-bottom: 1px solid #e8e8e8; font-size: 1rem; }
.fs-sg__table td:first-child { font-family: var(--fs-font-heading); font-weight: 600; font-size: 1.2rem; letter-spacing: .1em; }
.fs-sg__table tbody tr:hover td { background: #f7f7f7; }
.fs-sg__note { margin: 12px 0 3.5em; font-size: .85rem; color: #777; }
.fs-sg__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 4em; }
.fs-sg__step span { display: block; font-family: var(--fs-font-heading); font-size: 2rem; color: #c8302000; -webkit-text-stroke: 1px #111; margin-bottom: 8px; }
.fs-sg__step h3 { margin: 0 0 8px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .12em; }
.fs-sg__step p { margin: 0; color: #555; line-height: 1.6; font-size: .95rem; }
.fs-sg__custom { background: #000; color: #fff; padding: 40px 36px; text-align: center; }
.fs-sg__custom .fs-sg__h { color: #fff; border-bottom-color: #444; }
.fs-sg__custom p { margin: 0 0 24px; color: #ccc; line-height: 1.6; }
.fs-sg__btn { display: inline-block; border: 1px solid #fff; color: #fff; padding: 13px 26px; font-family: var(--fs-font-heading); text-transform: uppercase; letter-spacing: .14em; text-decoration: none; }
.fs-sg__btn:hover { background: #fff; color: #000; }
@media (max-width: 640px) { .fs-sg__steps { grid-template-columns: 1fr; } .fs-sg__custom { padding: 32px 20px; } }

.fs-sg h2, .fs-sg h3 { font-family: var(--fs-font-heading) !important; }
.fs-sg a, .fs-sg__btn { text-decoration: none !important; }

/* Màu dạng chữ (Black/Ivory/Red/Blue): dùng cùng kiểu nút với Size, không ép thành vòng tròn */
.cfvsw-swatches-container[swatches-attr*="color"] .cfvsw-swatches-option.cfvsw-label-option {
	width: auto !important;
	min-width: 42px !important;
	max-width: none !important;
	height: 36px !important;
	min-height: 0 !important;
	max-height: none !important;
	flex: 0 0 auto !important;
	border-radius: 0 !important;
	padding: 0 14px !important;
	border: 1px solid #d5d5d5 !important;
	box-shadow: none !important;
	transform: none !important;
}
.cfvsw-swatches-container[swatches-attr*="color"] .cfvsw-swatches-option.cfvsw-label-option .cfvsw-swatch-inner {
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}
.cfvsw-swatches-container[swatches-attr*="color"] .cfvsw-swatches-option.cfvsw-label-option:hover {
	border-color: #111 !important;
}
.cfvsw-swatches-container[swatches-attr*="color"] .cfvsw-swatches-option.cfvsw-label-option.cfvsw-selected-swatch {
	background: #111 !important;
	color: #fff !important;
	border-color: #111 !important;
}
/* Size cũng vuông, đồng bộ với theme */
.cfvsw-swatches-container .cfvsw-swatches-option.cfvsw-label-option { border-radius: 0 !important; }

/* Menu mobile: bảng menu nền đen chữ trắng; header trang chủ chuyển đen khi mở menu */
.ast-header-break-point .main-header-bar-navigation,
.ast-header-break-point .ast-mobile-header-content,
.ast-mobile-header-content,
.ast-header-break-point .main-navigation ul,
.ast-header-break-point .main-header-menu,
.ast-header-break-point .main-header-menu .sub-menu {
	background: #000 !important;
}
.ast-header-break-point .main-header-menu .menu-item,
.ast-header-break-point .main-header-menu .menu-link,
.ast-header-break-point .main-header-menu .sub-menu .menu-link,
.ast-header-break-point .ast-mobile-header-content .menu-link,
.ast-mobile-header-content .menu-link {
	color: #fff !important;
	background: transparent !important;
	border-color: #222 !important;
}
.ast-header-break-point .main-header-menu .ast-menu-toggle,
.ast-header-break-point .main-header-menu .ast-menu-toggle svg,
.ast-mobile-header-content .ast-menu-toggle { color: #fff !important; fill: #fff !important; }
.ast-header-break-point .main-header-menu .menu-item,
.ast-header-break-point .main-header-menu > .menu-item { border-color: #222 !important; }
body.home.ast-main-header-nav-open .site-header,
body.home.ast-main-header-nav-open .ast-primary-header-bar,
body.home.ast-main-header-nav-open .main-header-bar { background: #000 !important; }
body.home.ast-main-header-nav-open .ast-mobile-menu-buttons svg,
body.home.ast-main-header-nav-open .menu-toggle { color: #fff; fill: #fff; }

/* .site-header đã fixed; các thanh bên trong để trong luồng để bảng menu mobile nằm dưới thanh logo */
body.home .ast-primary-header-bar,
body.home .main-header-bar,
body.home .ast-mobile-header-wrap .ast-primary-header-bar { position: relative !important; }

/* Footer gọn: Instagram + copyright, căn giữa, chữ nhỏ in hoa */
.site-below-footer-wrap[data-section="section-below-footer-builder"],
.site-footer .ast-builder-grid-row-container-inner { padding-top: 0; padding-bottom: 0; min-height: 0 !important; }
.site-below-footer-wrap { padding: 28px 16px !important; }
.ast-footer-copyright { text-align: center !important; }
.ast-footer-copyright p { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fs-footer__ig { font-family: var(--fs-font-heading); text-transform: uppercase; letter-spacing: .2em; font-size: .85rem; border-bottom: 1px solid #fff; padding-bottom: 2px; text-decoration: none !important; color: #fff; }
.fs-footer__copy { font-size: .75rem; letter-spacing: .08em; color: #aaa; text-transform: uppercase; }
.site-footer .fs-footer__copy, .site-footer .ast-footer-copyright { color: #aaa; }
.site-footer .ast-footer-copyright a.fs-footer__ig { color: #fff; }

/* Press trên mobile: dải trượt ngang thay vì nhiều hàng dọc */
@media (max-width: 899px) {
	.fs-press { margin: 3em 0 2em; }
	.fs-press__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 0 16px 6px; -webkit-overflow-scrolling: touch; }
	.fs-press__item { flex: 0 0 52%; scroll-snap-align: start; }
	.fs-press__list::-webkit-scrollbar { display: none; }
}

/* Trang chủ chỉ có ô ảnh bộ sưu tập: trên điện thoại xếp dọc, mỗi ảnh gần trọn màn hình như trang tạp chí */
body.home .woocommerce-products-header { display: none; }
body.home .fs-gateway { margin-bottom: 0; }
@media (max-width: 700px) {
	.fs-gateway,
	.fs-gateway--3 { grid-template-columns: 1fr; }
	.fs-gateway__tile,
	.fs-gateway__tile:nth-child(-n+2),
	.fs-gateway--3 .fs-gateway__tile:nth-child(3) { grid-column: auto; height: 82svh; aspect-ratio: auto; }
	.fs-gateway__label { font-size: 1.1rem; letter-spacing: .14em; }
}

/* Ô ảnh vừa đúng màn hình sau khi trừ thanh DEMO */
@media (min-width: 1100px) {
}

/* Không chừa khoảng trắng giữa ô ảnh và footer */
body.home .content-area { margin-bottom: 0 !important; }
body.home .site-content { padding-bottom: 0 !important; }

/* ======================================================================
   Trang bộ sưu tập / danh mục: lưới editorial kiểu Feng.
   Ảnh là chính, không nút mua, không sao, không nhãn; tên + giá in hoa nhỏ ở giữa; so le nhẹ.
   ====================================================================== */
body.tax-product_collection .site-content > .ast-container,
body.tax-product_cat .site-content > .ast-container {
	max-width: none !important;
	padding-left: clamp(20px, 3.5vw, 56px) !important;
	padding-right: clamp(20px, 3.5vw, 56px) !important;
}
body.tax-product_collection .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb,
body.tax-product_collection .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_collection .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_collection .ast-woo-product-category,
body.tax-product_cat .ast-woo-product-category,
body.tax-product_collection .ast-on-card-button,
body.tax-product_cat .ast-on-card-button,
body.tax-product_collection li.product .button,
body.tax-product_cat li.product .button,
body.tax-product_collection li.product .star-rating,
body.tax-product_cat li.product .star-rating,
body.tax-product_collection li.product .onsale,
body.tax-product_cat li.product .onsale,
body.tax-product_collection li.product .cfvsw_variations_form,
body.tax-product_cat li.product .cfvsw_variations_form { display: none !important; }

body.tax-product_collection .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header { padding: 0; margin: 40px 0 0; }
body.tax-product_collection .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title {
	font-family: var(--fs-font-heading) !important;
	font-weight: 700 !important;
	font-size: clamp(2.2rem, 4.5vw, 3.6rem) !important;
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: 1;
	margin: 0 !important;
}

body.tax-product_collection ul.products,
body.tax-product_cat ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 80px clamp(28px, 4vw, 64px) !important;
	margin: 56px 0 100px !important;
	padding: 0 !important;
}
body.tax-product_collection ul.products::before,
body.tax-product_collection ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after { display: none !important; }
body.tax-product_collection ul.products li.product,
body.tax-product_cat ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	text-align: center !important;
	float: none !important;
}
/* So le: cột giữa thấp hơn để lưới có nhịp như trang tạp chí */
body.tax-product_collection ul.products li.product:nth-child(3n+2),
body.tax-product_cat ul.products li.product:nth-child(3n+2) { margin-top: 96px !important; }

body.tax-product_collection li.product .astra-shop-thumbnail-wrap,
body.tax-product_cat li.product .astra-shop-thumbnail-wrap { margin: 0 0 22px !important; overflow: hidden; }
body.tax-product_collection li.product .astra-shop-thumbnail-wrap img,
body.tax-product_cat li.product .astra-shop-thumbnail-wrap img { width: 100% !important; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0 !important; }

body.tax-product_collection li.product .astra-shop-summary-wrap,
body.tax-product_cat li.product .astra-shop-summary-wrap { text-align: center !important; padding: 0 !important; }
body.tax-product_collection li.product .woocommerce-loop-product__title,
body.tax-product_cat li.product .woocommerce-loop-product__title {
	font-family: var(--fs-font-heading) !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	letter-spacing: .06em !important;
	text-transform: uppercase;
	margin: 0 0 10px !important;
	padding: 0 !important;
}
body.tax-product_collection li.product .price,
body.tax-product_cat li.product .price {
	font-family: var(--fs-font-body) !important;
	font-size: .85rem !important;
	color: #111 !important;
	display: block;
}

@media (max-width: 900px) {
	body.tax-product_collection ul.products,
	body.tax-product_cat ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 48px 16px !important; margin: 36px 0 70px !important; }
	body.tax-product_collection ul.products li.product:nth-child(3n+2),
	body.tax-product_cat ul.products li.product:nth-child(3n+2) { margin-top: 0 !important; }
	body.tax-product_collection ul.products li.product:nth-child(2n),
	body.tax-product_cat ul.products li.product:nth-child(2n) { margin-top: 48px !important; }
	body.tax-product_collection li.product .woocommerce-loop-product__title,
	body.tax-product_cat li.product .woocommerce-loop-product__title { font-size: .85rem !important; }
}

/* Nâng độ ưu tiên để thắng các luật nút/giá cũ của theme */
body.tax-product_collection.woocommerce ul.products li.product a.button,
body.tax-product_cat.woocommerce ul.products li.product a.button,
body.tax-product_collection.woocommerce ul.products li.product .add_to_cart_button,
body.tax-product_cat.woocommerce ul.products li.product .add_to_cart_button { display: none !important; }
body.tax-product_collection.woocommerce ul.products li.product .price,
body.tax-product_cat.woocommerce ul.products li.product .price {
	display: flex !important;
	justify-content: center !important;
	text-align: center !important;
	width: 100% !important;
	margin: 0 !important;
}

/* Thẳng hàng: bỏ kiểu so le, các thẻ cùng hàng cùng độ cao */
body.tax-product_collection ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_collection ul.products li.product:nth-child(3n+2),
body.tax-product_cat ul.products li.product:nth-child(3n+2),
body.tax-product_collection ul.products li.product:nth-child(2n),
body.tax-product_cat ul.products li.product:nth-child(2n) { margin-top: 0 !important; }

.fs-custom-note { display: block; margin-top: 8px; font-size: .8rem; color: #555; line-height: 1.5; }
.fs-custom-note:empty { display: none; }

/* Nút "Custom size or color?" nằm cạnh size cuối (L), cùng kiểu với ô size (JS trong functions.php) */
.variations_form .cfvsw-swatches-container .fs-custom-size { display: inline-flex !important; flex-direction: column !important; align-items: flex-start !important; margin: 0 !important; padding: 0 !important; }
.variations_form .cfvsw-swatches-container .fs-custom-size a {
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	box-sizing: border-box !important; height: 36px !important; min-width: 42px !important; padding: 0 14px !important;
	border: 1.5px solid #d5cec5 !important; border-radius: 0 !important; background: #ffffff !important; color: var(--fs-black, #1c1c1c) !important;
	font-family: var(--fs-font-heading, inherit) !important; font-weight: 600 !important; font-size: 0.85rem !important;
	letter-spacing: normal !important; text-transform: none !important; text-decoration: none !important; line-height: 1 !important;
	white-space: nowrap !important; box-shadow: none !important; transition: all 0.2s ease !important;
}
.variations_form .cfvsw-swatches-container .fs-custom-size a:hover { border-color: var(--fs-black, #1c1c1c) !important; background: #ffffff !important; color: var(--fs-black, #1c1c1c) !important; transform: translateY(-1px) !important; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important; }
.variations_form .cfvsw-swatches-container .fs-custom-size > .fs-custom-note { font-size: 10px !important; color: #888 !important; margin: 5px 0 0 !important; line-height: 1.2 !important; max-width: 320px; }
.variations_form .cfvsw-swatches-container.fs-has-custom { align-items: flex-start !important; }

/* Checkout: PayPal gọn như Remitly — ẩn mô tả/lời nhắn chuyển hướng, viền mảnh khi được chọn. */
.wc-block-components-radio-control-accordion-option:has(input[value="ppcp-gateway"]) .wc-block-components-radio-control-accordion-content {
	display: none;
}
.wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	box-shadow: inset 0 0 0 1px #111111 !important;
}
