/*
 * LOCALSTORE – giao diện web thời trang (Blocksy + GreenShift).
 * Màu: đen mực #111111, nền đá #f4f4f6, đường kẻ #e7e7ec, nhấn tím #8b3fd9, giảm giá đỏ #e0262d. Font: Be Vietnam Pro (Blocksy).
 * Khối GreenShift có style riêng trong block; file này lo phần dùng chung: header, thẻ sản phẩm, lưới Query Grid,
 * trang danh sách (danh mục con, bộ lọc), trang sản phẩm (chọn size, bảng size), giỏ hàng / thanh toán, chân trang.
 */

:root {
	--vs-ink: #111111;
	--vs-text: #3a3a3f;
	--vs-muted: #73737c;
	--vs-line: #e7e7ec;
	--vs-soft: #f4f4f6;
	--vs-accent: #8b3fd9;
	--vs-sale: #c81e27; /* đỏ đậm: đủ tương phản 4.5:1 trên nền trắng */
	--vs-radius: 10px;
	--vs-container: min(1260px, calc(100% - 30px));
	--theme-button-min-height: 44px;
}

body {
	color: var(--vs-text);
	-webkit-font-smoothing: antialiased;
}

/* Trang dựng bằng GreenShift: section tự lo khoảng cách, bỏ đệm trên/dưới của Blocksy. */
.lcs-builder .ct-container-full {
	padding-top: 0;
	padding-bottom: 0;
}

/* Container ~1250px trên mọi trang Blocksy. */
.ct-container,
.ct-container-narrow {
	width: var(--vs-container);
}

.screen-reader-text:not(:focus) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.lcs-ico {
	display: inline-flex;
	flex-shrink: 0;
	line-height: 0;
}

.lcs-ico svg {
	width: 1em;
	height: 1em;
}

/* ------------------------------------------------------------------ nút dùng chung */
.lcs-btn,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 24px;
	border: 1px solid var(--vs-ink);
	border-radius: 999px;
	background: var(--vs-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.lcs-btn:hover,
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
	background: #000;
	border-color: #000;
	color: #fff;
}

.lcs-btn--light {
	background: #fff;
	color: var(--vs-ink);
	border-color: var(--vs-line);
}

/* ------------------------------------------------------------------ header */
.lcs-topbar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0;
	font-size: 12.5px;
	letter-spacing: .02em;
	color: rgba(255, 255, 255, .86);
	white-space: nowrap;
}

.lcs-topbar a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.lcs-topbar__sep {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .45);
}

[data-row*="top"] .ct-header-text {
	width: 100%;
}

/* Ô tìm kiếm ở giữa header. */
.ct-header-text .sgb-search {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	height: 44px;
	border: 1px solid var(--vs-line);
	border-radius: 999px;
	background: var(--vs-soft);
	transition: border-color .2s ease, background-color .2s ease;
}

.sgb-search:focus-within {
	border-color: var(--vs-ink);
	background: #fff;
}

.sgb-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 6px 0 20px;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 14px;
	color: var(--vs-ink);
}

.sgb-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--vs-ink);
	cursor: pointer;
	min-height: 0;
}

/* Menu danh mục: mục Sale màu nhấn, dropdown 1 cột gọn. */
.ct-header .lcs-menu-sale > a {
	color: var(--vs-accent) !important;
}

.ct-header [data-id="menu"] .sub-menu {
	padding: 8px 0;
	border: 1px solid var(--vs-line);
	border-radius: 10px;
	box-shadow: 0 18px 40px rgba(20, 20, 20, .1);
	overflow: hidden;
}

.ct-header [data-id="menu"] .sub-menu .ct-menu-link {
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 500;
	gap: 10px;
}

.ct-header [data-id="menu"] .sub-menu .ct-menu-link:hover {
	background: var(--vs-soft);
}

.sgb-menu-icon--img {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 20%;
	flex-shrink: 0;
	background: var(--vs-soft);
}

.sgb-menu-label {
	display: inline-block;
}

/* Dropdown giỏ hàng Blocksy: mặc định nền tối chữ trắng – đổi sang nền trắng thì phải đặt lại màu chữ cho mọi phần
   (tên, Màu sắc / Size của biến thể, số lượng × giá, tạm tính), nếu không chữ trắng trên nền trắng. */
.ct-header-cart .ct-cart-content {
	--theme-text-color: var(--vs-text);
	--theme-link-initial-color: var(--vs-ink);
	--theme-link-hover-color: var(--vs-accent);
	--theme-headings-color: var(--vs-ink);
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(20, 20, 20, .14);
	background: #fff;
	color: var(--vs-text);
}

.ct-header-cart .ct-cart-content .woocommerce-mini-cart-item a:not(.remove) {
	color: var(--vs-ink);
	font-weight: 500;
}

.ct-header-cart .ct-cart-content dl.variation,
.ct-header-cart .ct-cart-content dl.variation dt,
.ct-header-cart .ct-cart-content dl.variation dd,
.ct-header-cart .ct-cart-content dl.variation p {
	color: var(--vs-muted);
	background: none;
	font-size: 12.5px;
	font-weight: 400;
}

.ct-header-cart .ct-cart-content dl.variation dt {
	font-weight: 600;
}

.ct-header-cart .ct-cart-content .quantity,
.ct-header-cart .ct-cart-content .quantity .amount,
.ct-header-cart .ct-cart-content .woocommerce-mini-cart__total,
.ct-header-cart .ct-cart-content .woocommerce-mini-cart__total .amount,
.ct-header-cart .ct-cart-content .woocommerce-mini-cart__empty-message {
	color: var(--vs-ink);
}

.ct-header-cart .ct-cart-content .woocommerce-mini-cart__total {
	border-top-color: var(--vs-line);
}

.ct-header-cart .ct-cart-content .remove {
	color: var(--vs-muted);
	border-color: var(--vs-line);
}

.ct-header-cart .ct-cart-content .woocommerce-mini-cart-item img {
	width: 56px;
	height: 75px;
	object-fit: cover;
	border-radius: 6px;
}

.ct-header-cart .woocommerce-mini-cart__buttons .button {
	min-height: 40px;
	padding: 0 14px;
	font-size: 13.5px;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
}

.ct-header-cart .woocommerce-mini-cart__buttons .button:not(.checkout) {
	background: #fff;
	color: var(--vs-ink);
}

/* ------------------------------------------------------------------ menu điện thoại (offcanvas) */
#offcanvas .ct-panel-actions .sgb-oc-brand img {
	display: block;
	width: auto;
	height: 26px;
}

#offcanvas .ct-social-box {
	--theme-icon-color: var(--vs-ink);
	margin-top: 18px;
}

#offcanvas .ct-panel-actions {
	justify-content: space-between;
	gap: 12px;
}

#offcanvas .sgb-menu-icon--svg {
	display: inline-flex;
	color: var(--vs-muted);
}

#offcanvas .ct-menu-link {
	gap: 12px;
}

.sgb-oc-contact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 24px;
	padding: 18px;
	border-radius: 12px;
	background: var(--vs-soft);
}

.sgb-oc-contact__label {
	font-size: 13px;
	color: var(--vs-muted);
}

.sgb-oc-contact__tel {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	font-weight: 700;
	color: var(--vs-ink);
	text-decoration: none;
}

.sgb-oc-contact__zalo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	border-radius: 999px;
	background: var(--vs-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

/* ------------------------------------------------------------------ lưới Query Grid (số cột theo lớp lcs-qgrid--N) */
.lcs-qgrid {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
}

.lcs-qgrid .wp-block-post-template {
	--cols: 4;
	display: grid !important;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	gap: 32px 20px;
	width: 100%;
	max-width: none;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

.lcs-qgrid--3 .wp-block-post-template {
	--cols: 3;
}

.lcs-qgrid .gspbgrid_item {
	display: flex;
	width: auto !important;
	max-width: none;
	margin: 0;
	padding: 0;
}

.lcs-qgrid .gspbgrid_item > *,
.lcs-qgrid .sgb-card {
	width: 100%;
}

.lcs-qgrid + .clearfix,
.wp-block-greenshift-blocks-querygrid + .clearfix {
	display: none;
}

@media (max-width: 999.98px) {
	.lcs-qgrid--4 .wp-block-post-template {
		--cols: 3;
	}
	.lcs-qgrid--3 .wp-block-post-template {
		gap: 24px 16px;
	}
}

@media (max-width: 767.98px) {
	.lcs-qgrid--4 .wp-block-post-template,
	.lcs-qgrid--3 .wp-block-post-template {
		--cols: 2;
		gap: 24px 12px;
	}
	.lcs-news-grid .wp-block-post-template {
		--cols: 1;
	}
}

/* Phân trang của Query Grid. */
.lcs-qgrid .pagination {
	margin-top: 40px;
}

.lcs-qgrid .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.lcs-qgrid .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--vs-line);
	border-radius: 999px;
	color: var(--vs-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.lcs-qgrid a.page-numbers:hover {
	border-color: var(--vs-ink);
}

.lcs-qgrid .page-numbers.current {
	background: var(--vs-ink);
	border-color: var(--vs-ink);
	color: #fff;
}

/* ------------------------------------------------------------------ thẻ sản phẩm */
.lcs-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.lcs-card__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--vs-radius);
	background: var(--vs-soft);
	aspect-ratio: 3 / 4;
}

.lcs-card__img {
	display: block;
	width: 100%;
	height: 100%;
}

.lcs-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.lcs-card:hover .lcs-card__img img {
	transform: scale(1.04);
}

.lcs-badges {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	pointer-events: none;
}

.lcs-badge {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 9px;
	border-radius: 999px;
	background: #fff;
	color: var(--vs-ink);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.lcs-badge--sale {
	background: var(--vs-sale);
	color: #fff;
}

/* Thêm nhanh theo size: hiện khi rê chuột (máy tính), luôn hiện gọn trên màn hình cảm ứng. */
.lcs-quick {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	z-index: 2;
	padding: 10px 10px 11px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .95);
	box-shadow: 0 10px 30px rgba(20, 20, 20, .12);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease;
}

.lcs-card:hover .lcs-quick,
.lcs-card:focus-within .lcs-quick {
	opacity: 1;
	transform: none;
}

.lcs-quick__label {
	display: block;
	margin-bottom: 7px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--vs-muted);
	text-align: center;
}

.lcs-quick__sizes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px;
}

.lcs-quick a.button.lcs-quick__size,
.lcs-quick a.button.lcs-quick__one {
	min-width: 36px;
	min-height: 32px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid var(--vs-line);
	border-radius: 6px;
	background: #fff;
	color: var(--vs-ink);
	font-size: 12.5px;
	font-weight: 600;
}

.lcs-quick a.button.lcs-quick__size:hover,
.lcs-quick a.button.lcs-quick__one:hover {
	background: var(--vs-ink);
	border-color: var(--vs-ink);
	color: #fff;
}

.lcs-quick a.button.lcs-quick__one {
	width: 100%;
	gap: 6px;
}

.lcs-quick a.button.lcs-quick__one .lcs-ico {
	font-size: 16px;
}

.lcs-quick a.button.loading {
	opacity: .55;
	pointer-events: none;
}

.lcs-quick a.button.added {
	background: var(--vs-ink);
	border-color: var(--vs-ink);
	color: #fff;
}

.lcs-quick a.button.added::after {
	content: " ✓";
	margin-left: 2px;
}

/* Woo chèn link "Xem giỏ hàng" sau nút – trong thẻ không cần (đã có dropdown giỏ + thông báo). */
.lcs-quick .added_to_cart,
.lcs-card .added_to_cart {
	display: none !important;
}

/* Màn hình cảm ứng / điện thoại: bỏ thêm nhanh (thẻ nhỏ), khách bấm vào sản phẩm để chọn size. */
@media (hover: none), (max-width: 767.98px) {
	.lcs-quick {
		display: none;
	}
}

.lcs-card__body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding-top: 12px;
}

.lcs-card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	font-size: 12.5px;
	color: var(--vs-muted);
}

.lcs-dot--btn {
	padding: 0;
	min-height: 0;
	border: 0;
	cursor: pointer;
}

.lcs-dot--btn.is-active {
	box-shadow: inset 0 0 0 1px rgba(20, 20, 20, .15), 0 0 0 1.5px #fff, 0 0 0 2.5px var(--vs-ink);
}

.lcs-card-meta .lcs-dot {
	width: 14px;
	height: 14px;
}
/* Ô màu bấm được: vùng chạm 24px (chuẩn PageSpeed), chấm hiển thị vẫn 14px. */
.lcs-card-meta .lcs-dot--btn {
	width: 24px;
	height: 24px;
	margin: -5px 0;
	box-shadow: none;
	background: radial-gradient(circle, var(--c, #ccc) 0 6.4px, rgba(20, 20, 20, .2) 6.5px 7.1px, transparent 7.3px);
}
.lcs-card-meta .lcs-dot--btn.is-active {
	box-shadow: none;
	background: radial-gradient(circle, var(--c, #ccc) 0 6.4px, rgba(20, 20, 20, .2) 6.5px 7.1px, #fff 7.2px 8.4px, var(--vs-ink) 8.5px 9.6px, transparent 9.8px);
}

.lcs-quick a[hidden] {
	display: none !important;
}

.lcs-card-meta__sizes::before {
	content: "·";
	margin-right: 6px;
}

.lcs-dot {
	display: inline-block;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--c, #ccc);
	box-shadow: inset 0 0 0 1px rgba(20, 20, 20, .15);
	flex-shrink: 0;
}

.lcs-card__title {
	margin: 0;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0;
}

.lcs-card__title a {
	color: var(--vs-ink);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lcs-card__title a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lcs-card__price .gspb_price_value,
.lcs-card__price .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 0;
}

.lcs-card__price .sale-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
}

.lcs-card__price .amount {
	font-size: 15px;
	font-weight: 700;
	color: var(--vs-ink);
}

.lcs-card__price ins {
	order: -1;
	text-decoration: none;
}

.lcs-card__price ins .amount {
	color: var(--vs-sale);
}

.lcs-card__price del .amount {
	font-size: 13px;
	font-weight: 400;
	color: var(--vs-muted);
}

@media (max-width: 575.98px) {
	.lcs-card__title {
		font-size: 13.5px;
	}
	.lcs-card__price .amount {
		font-size: 14px;
	}
	.lcs-card__price del .amount {
		font-size: 12px;
	}
	.lcs-badge {
		height: 22px;
		font-size: 10.5px;
		padding: 0 7px;
	}
}

/* Vòng lặp Woo (giỏ hàng: sản phẩm bán kèm). */
.woocommerce ul.products:has(.lcs-loop-item) {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 18px;
}

/* Ảnh trong khối trang chủ: phóng nhẹ khi rê chuột. */
.lcs-tile:hover .lcs-zoom {
	transform: scale(1.04);
}

.lcs-chiprow {
	scrollbar-width: none;
}

.lcs-chiprow::-webkit-scrollbar {
	display: none;
}

/* Thẻ bài viết (Query Grid). */
.lcs-news-grid .gspbgrid_item article {
	width: 100%;
}

/* ------------------------------------------------------------------ đăng ký nhận ưu đãi */
.lcs-subscribe {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lcs-subscribe input[type="email"] {
	flex: 1 1 220px;
	min-width: 0;
	height: 50px;
	padding: 0 20px;
	border: 1px solid rgba(255, 255, 255, .25) !important;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08) !important;
	color: #fff;
	font-size: 15px;
}

.lcs-subscribe input[type="email"]::placeholder {
	color: rgba(255, 255, 255, .6);
}

.lcs-subscribe button {
	height: 50px;
	min-height: 50px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: var(--vs-ink);
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
}

.lcs-subscribe button:hover {
	background: var(--vs-soft);
}

.lcs-subscribe .lcs-form__msg {
	flex-basis: 100%;
	font-size: 14px;
	color: #fff;
}

.lcs-subscribe .lcs-form__msg strong {
	padding: 2px 8px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .14);
	letter-spacing: .06em;
}

.lcs-trap {
	position: absolute !important;
	left: -9999px !important;
}

/* ------------------------------------------------------------------ form liên hệ */
.lcs-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.lcs-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.lcs-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--vs-ink);
}

.lcs-form__field b {
	color: var(--vs-accent);
}

.lcs-form input,
.lcs-form select,
.lcs-form textarea {
	width: 100%;
	border: 1px solid var(--vs-line) !important;
	border-radius: 8px !important;
	background: #fff;
	font-size: 15px;
	font-weight: 400;
}

.lcs-form input,
.lcs-form select {
	height: 46px;
}

.lcs-form input:focus,
.lcs-form select:focus,
.lcs-form textarea:focus {
	border-color: var(--vs-ink) !important;
}

.lcs-form .lcs-btn {
	align-self: flex-start;
	min-width: 180px;
}

.lcs-form__note {
	margin: 0;
	font-size: 13px;
	color: var(--vs-muted);
}

.lcs-form__msg:empty {
	display: none;
}

.lcs-form__msg {
	padding: 12px 14px;
	border-radius: 8px;
	background: var(--vs-soft);
	font-size: 14px;
}

.lcs-form__msg.is-error {
	color: #a12a1d;
}

.lcs-subscribe .lcs-form__msg {
	padding: 0;
	background: none;
}

form.is-sending [type="submit"] {
	opacity: .6;
	pointer-events: none;
}

@media (max-width: 575.98px) {
	.lcs-form__row {
		grid-template-columns: 1fr;
	}
	.lcs-subscribe button {
		flex: 1 1 100%;
	}
}

/* ------------------------------------------------------------------ trang danh sách */
.lcs-subcats {
	position: relative;
	margin: 0 0 22px;
}

.lcs-subcats__track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 2px 0 6px;
	cursor: grab;
	scroll-behavior: smooth;
}

.lcs-subcats__track::-webkit-scrollbar {
	display: none;
}

.lcs-subcats__track.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
}

.lcs-subcats__track.is-dragging a {
	pointer-events: none;
}

.lcs-subcat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	width: 92px;
	text-decoration: none;
	color: var(--vs-ink);
}

.lcs-subcat__img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--vs-soft);
	box-shadow: 0 0 0 1px var(--vs-line);
	transition: box-shadow .2s ease;
	font-size: 26px;
	color: var(--vs-ink);
}

.lcs-subcat__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 18%;
}

.lcs-subcat__name {
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
}

.lcs-subcat:hover .lcs-subcat__img {
	box-shadow: 0 0 0 1.5px var(--vs-ink);
}

.lcs-subcat.is-active .lcs-subcat__img {
	box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--vs-ink);
}

.lcs-subcat.is-active .lcs-subcat__name {
	font-weight: 700;
}

.lcs-subcats.has-fade::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 6px;
	width: 48px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff);
	pointer-events: none;
}

/* Bộ lọc. */
.lcs-filter {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin: 0 0 14px;
	padding: 12px 0;
	border-top: 1px solid var(--vs-line);
	border-bottom: 1px solid var(--vs-line);
	background: #fff;
}

.admin-bar .lcs-filter {
	top: 32px;
}

.lcs-filter__title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--vs-ink);
}

.lcs-filter__title .lcs-ico {
	font-size: 18px;
}

.lcs-filter__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lcs-filter__end {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.lcs-filter__count {
	font-size: 13.5px;
	color: var(--vs-muted);
	white-space: nowrap;
}

.lcs-filter__field select {
	height: 38px;
	min-width: 0;
	padding: 0 34px 0 16px !important;
	border: 1px solid var(--vs-line) !important;
	border-radius: 999px !important;
	background-color: #fff;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--vs-ink);
	cursor: pointer;
}

.lcs-filter__field select:hover {
	border-color: var(--vs-ink) !important;
}

.lcs-filter__field.is-set select {
	border-color: var(--vs-ink) !important;
	background-color: var(--vs-ink);
	color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.lcs-filter__sort select {
	border-color: transparent !important;
	padding-left: 8px !important;
	font-weight: 600;
}

.lcs-filter__submit {
	display: none;
}

.no-js .lcs-filter__submit {
	display: inline-flex;
}

.lcs-filter__active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
}

.lcs-filter__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 10px 0 12px;
	border-radius: 999px;
	background: var(--vs-soft);
	color: var(--vs-ink);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

.lcs-filter__chip .lcs-ico {
	font-size: 14px;
}

.lcs-filter__chip:hover {
	background: var(--vs-line);
}

.lcs-filter__reset {
	font-size: 13px;
	font-weight: 600;
	color: var(--vs-ink);
}

.lcs-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 56px 16px;
	text-align: center;
	color: var(--vs-muted);
}

.lcs-shop .lcs-shop-desc:empty {
	display: none;
}

@media (max-width: 767.98px) {
	.lcs-filter {
		position: static;
		padding: 10px 0;
	}
	.lcs-filter__title {
		display: none;
	}
	.lcs-filter__fields {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		width: 100%;
		margin: 0 -15px;
		padding: 0 15px;
		width: calc(100% + 30px);
	}
	.lcs-filter__fields::-webkit-scrollbar {
		display: none;
	}
	.lcs-filter__field {
		flex-shrink: 0;
	}
	.lcs-filter__end {
		width: 100%;
		margin-left: 0;
		justify-content: space-between;
	}
	.lcs-subcat {
		width: 76px;
	}
	.lcs-subcat__img {
		width: 64px;
		height: 64px;
	}
}

/* ------------------------------------------------------------------ trang sản phẩm */
.lcs-single-product .lcs-notices:not(:has(*)) {
	display: none;
}

.lcs-single-product .lcs-notices .woocommerce-message,
.lcs-single-product .lcs-notices .woocommerce-error {
	width: var(--vs-container);
	margin: 16px auto 0;
}

.lcs-pd-cat {
	align-self: flex-start;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--vs-muted);
	text-decoration: none;
}

.lcs-pd-cat:hover {
	color: var(--vs-ink);
}

.lcs-pstats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	font-size: 13.5px;
	color: var(--vs-muted);
}

.lcs-pstats > i {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #c6bfb4;
}

.lcs-pstats__rating {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--vs-ink);
	text-decoration: none;
}

.lcs-pstats__rating .lcs-ico {
	color: #e0a526;
}

.lcs-pstats__rating .lcs-ico svg {
	fill: currentColor;
}

.lcs-pstats__stock.is-in {
	color: #2f7a4b;
	font-weight: 600;
}

.lcs-pcolor {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 6px;
	font-size: 14px;
	color: var(--vs-text);
}

.lcs-pcolor strong {
	color: var(--vs-ink);
}

.lcs-pcolor .lcs-dot {
	width: 30px;
	height: 30px;
}

.lcs-pcolor .lcs-dot.is-active {
	box-shadow: inset 0 0 0 1px rgba(20, 20, 20, .15), 0 0 0 2px #fff, 0 0 0 3.5px var(--vs-ink);
}

.lcs-pcolor__dots {
	display: flex;
	gap: 10px;
	padding-left: 3px;
}

.lcs-attr {
	margin-bottom: 16px;
}

.lcs-attr__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.lcs-attr__label {
	font-size: 14px;
	color: var(--vs-muted);
}

.lcs-attr__label strong {
	color: var(--vs-ink);
	font-weight: 600;
}

.lcs-attr.is-missing .lcs-attr__label strong {
	color: var(--vs-accent);
}

.lcs-attr.is-missing .lcs-chips {
	animation: lcs-shake .35s ease;
}

.lcs-chips .lcs-chip--color {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	min-width: 42px;
	height: 42px;
	min-height: 42px;
	padding: 0;
	border-radius: 50%;
	border-color: transparent;
}

.lcs-chips .lcs-chip--color .lcs-dot {
	width: 32px;
	height: 32px;
}

.lcs-chips .lcs-chip--color:hover {
	border-color: var(--vs-line);
}

.lcs-chips .lcs-chip--color[aria-pressed="true"],
.lcs-chips .lcs-chip--color[aria-pressed="true"]:hover {
	background: #fff;
	border-color: var(--vs-ink);
}

/* Form biến thể Woo: bảng chọn ẩn, thay bằng nút size. */
.lcs-pcart .variations_form table.variations {
	margin: 0;
	border: 0;
}

.lcs-pcart table.variations,
.lcs-pcart table.variations tbody,
.lcs-pcart table.variations tr,
.lcs-pcart table.variations td,
.lcs-pcart table.variations th {
	display: block;
	padding: 0;
	border: 0;
	background: none;
}

.lcs-pcart table.variations th.label {
	display: none;
}

.lcs-select-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.lcs-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lcs-chip {
	min-width: 52px;
	height: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--vs-line);
	border-radius: 8px;
	background: #fff;
	color: var(--vs-ink);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.lcs-chip:hover {
	border-color: var(--vs-ink);
}

.lcs-chip[aria-pressed="true"] {
	background: var(--vs-ink);
	border-color: var(--vs-ink);
	color: #fff;
}

.lcs-chip:disabled {
	opacity: .35;
	text-decoration: line-through;
	cursor: not-allowed;
}

@keyframes lcs-shake {
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}

.lcs-pcart .single_variation_wrap .woocommerce-variation-price,
.lcs-pcart .woocommerce-variation-availability {
	display: none;
}

.lcs-pcart form.cart {
	margin: 0;
}

.lcs-pcart .woocommerce-variation-add-to-cart,
.lcs-pcart form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.lcs-pcart .quantity {
	height: 50px;
	border: 1px solid var(--vs-line);
	border-radius: 999px;
	overflow: hidden;
}

.lcs-pcart .quantity input {
	height: 100%;
	border: 0 !important;
}

.lcs-pcart .single_add_to_cart_button,
.lcs-pcart .lcs-buy-now {
	flex: 1 1 140px;
	min-height: 50px;
	border-radius: 999px !important;
	font-size: 15px;
	font-weight: 600;
}

.lcs-pcart .single_add_to_cart_button {
	background: #fff !important;
	color: var(--vs-ink) !important;
	border: 1px solid var(--vs-ink) !important;
}

.lcs-pcart .single_add_to_cart_button:hover {
	background: var(--vs-soft) !important;
}

.lcs-pcart .single_add_to_cart_button.disabled {
	opacity: 1 !important;
	cursor: pointer;
}

.lcs-pcart .lcs-buy-now {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	border: 1px solid var(--vs-ink);
	background: var(--vs-ink);
	color: #fff;
	cursor: pointer;
}

.lcs-pcart .lcs-buy-now:hover {
	background: #000;
}

.lcs-promises {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 18px;
	margin: 6px 0 0;
	padding: 18px;
	border-radius: var(--vs-radius);
	background: var(--vs-soft);
	list-style: none;
}

.lcs-promises li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--vs-muted);
}

.lcs-promises .lcs-ico {
	font-size: 22px;
	color: var(--vs-ink);
}

.lcs-promises strong {
	display: block;
	font-size: 13.5px;
	color: var(--vs-ink);
}

@media (max-width: 400px) {
	.lcs-promises {
		grid-template-columns: 1fr;
	}
}

/* Accordion: dấu + xoay thành × khi mở. */
.lcs-acc .gs_click_sync[aria-expanded="true"] svg {
	transform: rotate(45deg);
}

.lcs-specs {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 14px;
}

.lcs-specs th,
.lcs-specs td {
	padding: 9px 0;
	border: 0;
	border-bottom: 1px dashed var(--vs-line);
	text-align: left;
	vertical-align: top;
}

.lcs-specs th {
	width: 38%;
	font-weight: 500;
	color: var(--vs-muted);
}

.lcs-specs td {
	color: var(--vs-ink);
}

.lcs-pdesc h3 {
	margin: 18px 0 8px;
	font-size: 15px;
	font-weight: 700;
}

.lcs-pdesc h3:first-child {
	margin-top: 0;
}

.lcs-pdesc p,
.lcs-pdesc ul {
	margin: 0 0 10px;
}

.lcs-pdesc ul {
	padding-left: 18px;
}

.lcs-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--vs-ink);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Bảng size (hộp thoại). */
.lcs-dialog {
	width: min(640px, calc(100% - 24px));
	max-height: calc(100% - 40px);
	padding: 0;
	border: 0;
	border-radius: 14px;
	box-shadow: 0 30px 80px rgba(20, 20, 20, .3);
}

.lcs-dialog::backdrop {
	background: rgba(20, 20, 20, .5);
}

.lcs-dialog__box {
	position: relative;
	padding: 30px 28px 24px;
}

.lcs-dialog h2 {
	margin: 0 40px 18px 0;
	font-size: 21px;
}

.lcs-dialog__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--vs-soft);
	color: var(--vs-ink);
	font-size: 18px;
	cursor: pointer;
}

.lcs-dialog__note {
	margin: 16px 0 0;
	font-size: 13.5px;
	color: var(--vs-muted);
}

.lcs-size-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	text-align: center;
}

.lcs-size-table th,
.lcs-size-table td {
	padding: 10px 8px;
	border: 0;
	border-bottom: 1px solid var(--vs-line);
}

.lcs-size-table thead th {
	background: var(--vs-soft);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--vs-muted);
}

.lcs-size-table tbody th {
	font-weight: 700;
	color: var(--vs-ink);
}

@media (max-width: 575.98px) {
	.lcs-dialog__box {
		padding: 24px 16px 18px;
	}
	.lcs-size-table {
		font-size: 12.5px;
	}
	.lcs-size-table th,
	.lcs-size-table td {
		padding: 9px 4px;
	}
}

/* Đánh giá. */
.lcs-reviews #reviews {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 32px;
}

.lcs-reviews .woocommerce-Reviews-title {
	display: none;
}

.lcs-reviews .woocommerce-noreviews {
	margin: 0;
	color: var(--vs-muted);
}

.lcs-reviews #review_form_wrapper {
	padding: 24px;
	border-radius: 12px;
	background: #fff;
}

.lcs-reviews .comment-reply-title {
	display: block;
	margin-bottom: 10px;
	font-size: 17px;
	font-weight: 700;
	color: var(--vs-ink);
}

@media (max-width: 849.98px) {
	.lcs-reviews #reviews {
		grid-template-columns: 1fr;
	}
}

/* ------------------------------------------------------------------ giỏ hàng, thanh toán */
.woocommerce-cart .ct-container-full,
.woocommerce-checkout .ct-container-full {
	padding-top: 40px;
}

.woocommerce-cart .woocommerce-cart-form img {
	width: 72px;
	height: 96px;
	object-fit: cover;
	border-radius: 8px;
}

.woocommerce-checkout .lcs-hidden-field {
	display: none !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
	border-radius: 8px;
}

/* ------------------------------------------------------------------ trang nội dung (chính sách, hỏi đáp) */
.th-rich > *:last-child {
	margin-bottom: 0;
}

.th-rich p {
	margin: 0 0 12px;
}

.th-rich ul,
.th-rich ol {
	margin: 0 0 12px;
	padding-left: 20px;
}

.th-rich li {
	margin-bottom: 6px;
}

.th-rich a {
	color: var(--vs-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.th-table th,
.th-table td {
	padding: 12px 16px;
	border: 0;
	border-bottom: 1px solid var(--vs-line);
	text-align: left;
	font-size: 14.5px;
}

.th-table thead th {
	background: var(--vs-soft);
	font-weight: 600;
	color: var(--vs-ink);
}

.th-table tr:last-child td {
	border-bottom: 0;
}

/* ------------------------------------------------------------------ chân trang (nền tối) */
#footer {
	--theme-text-color: rgba(255, 255, 255, .72);
	--theme-link-initial-color: rgba(255, 255, 255, .72);
	--theme-link-hover-color: #fff;
	color: rgba(255, 255, 255, .72);
	font-size: 14px;
}

#footer p,
#footer li {
	color: rgba(255, 255, 255, .72);
}

#footer .wp-block-heading {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff;
}

#footer ul.wp-block-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

#footer ul.wp-block-list li {
	margin: 0 0 10px;
}

#footer a {
	color: rgba(255, 255, 255, .72);
	text-decoration: none;
}

#footer a:hover {
	color: #fff;
}

#footer .lcs-foot-about {
	margin: 18px 0;
	line-height: 1.7;
}

#footer .ct-footer-copyright {
	font-size: 13px;
	color: rgba(255, 255, 255, .55);
}

/* Dòng thông báo web demo dưới bản quyền. */
#footer .lcs-demo-note {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	color: rgba(255, 255, 255, .45);
}

.lcs-social {
	display: flex;
	gap: 8px;
}

.lcs-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	font-size: 17px;
	transition: background-color .2s ease, border-color .2s ease;
}

#footer .lcs-social a:hover {
	background: #fff;
	border-color: #fff;
	color: var(--vs-ink);
}

#footer .sgb-footer-company {
	margin: 0 0 12px;
	color: #fff;
	font-size: 13.5px;
	line-height: 1.5;
}

#footer .sgb-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.55;
}

#footer .lcs-foot-ico {
	margin-top: 2px;
	font-size: 17px;
	color: rgba(255, 255, 255, .55);
}

/* Thông báo "Đã thêm vào giỏ" (thêm nhanh từ thẻ). */
.lcs-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 1000;
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: calc(100% - 24px);
	padding: 12px 14px 12px 18px;
	border-radius: 999px;
	background: var(--vs-ink);
	color: #fff;
	font-size: 14px;
	box-shadow: 0 18px 40px rgba(20, 20, 20, .25);
	opacity: 0;
	transform: translate(-50%, 16px);
	transition: opacity .25s ease, transform .25s ease;
	pointer-events: none;
}

.lcs-toast.is-on {
	opacity: 1;
	transform: translate(-50%, 0);
	pointer-events: auto;
}

.lcs-toast a {
	flex-shrink: 0;
	padding: 7px 14px;
	border-radius: 999px;
	background: #fff;
	color: var(--vs-ink);
	font-weight: 600;
	text-decoration: none;
}

/* Nút liên hệ nổi (Cài đặt → Thông tin liên hệ: bật/tắt, cạnh trái/phải, Gọi · Zalo · Messenger). */
.lcs-float {
	position: fixed;
	bottom: 84px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lcs-float--right {
	right: 18px;
	align-items: flex-end;
}

.lcs-float--left {
	left: 18px;
	align-items: flex-start;
}

.lcs-float__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 46px;
	padding: 0 18px 0 13px;
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(20, 20, 20, .22);
	transition: transform .2s ease;
}

.lcs-float__btn:hover {
	color: #fff;
	transform: translateY(-2px);
}

.lcs-float__btn .lcs-ico {
	font-size: 22px;
}

.lcs-float__btn--call {
	background: var(--vs-ink);
}

.lcs-float__btn--zalo {
	background: #0068ff;
}

.lcs-float__btn--messenger {
	background: linear-gradient(45deg, #0a7cff 0%, #a033ff 60%, #ff5c87 100%);
}

@media (max-width: 575.98px) {
	.lcs-float {
		bottom: 72px;
		gap: 8px;
	}
	.lcs-float--right {
		right: 12px;
	}
	.lcs-float--left {
		left: 12px;
	}
	.lcs-float__btn {
		width: 48px;
		height: 48px;
		padding: 0;
		justify-content: center;
	}
	.lcs-float__btn span:not(.lcs-ico) {
		display: none;
	}
	.lcs-topbar__more {
		display: none;
	}
	.lcs-topbar__sep {
		display: none;
	}
}

/* ------------------------------------------------------------------ bài viết (Cẩm nang) */
.single-post .entry-content h2 {
	margin-top: 1.6em;
	font-size: 24px;
}

.single-post .entry-content a {
	color: var(--vs-accent);
}

.entry-card .ct-media-container {
	border-radius: 10px;
}

/* === contact.css (skill) === */
/* Nút liên hệ nổi + dòng thông báo cuối trang – đi cùng theme-inc/contact-standalone.php. Nối vào CSS chính của theme.
   Đổi var(--theme-palette-color-1) nếu nút Gọi cần màu khác; .lcs-has-sticky = body class khi thanh 'Mua ngay' dính đáy hiện (điện thoại). */
.lcs-float {
	position: fixed;
	bottom: 24px;
	z-index: 60;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lcs-float--right {
	right: 18px;
	align-items: flex-end;
}

.lcs-float--left {
	left: 18px;
	align-items: flex-start;
}

.lcs-float__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 16px 0 12px;
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.45);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lcs-float__btn:hover,
.lcs-float__btn:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.5);
}

.lcs-float__icon {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
}

.lcs-float__btn--call {
	background: var(--theme-palette-color-1);
}

.lcs-float__btn--zalo {
	background: #0068ff;
}

.lcs-float__btn--messenger {
	background: linear-gradient(45deg, #0a7cff 0%, #a033ff 60%, #ff5c87 100%);
}

.lcs-float__btn--call .lcs-float__icon {
	animation: lcs-ring 2.4s ease-in-out infinite;
}

@keyframes lcs-ring {
	0%, 60%, 100% { transform: rotate(0); }
	65%, 75%, 85% { transform: rotate(-14deg); }
	70%, 80%, 90% { transform: rotate(14deg); }
}

/* Nút "lên đầu trang" của Blocksy nằm phía đối diện nút nổi. */
body.lcs-float-right .ct-back-to-top {
	right: auto;
	left: 25px;
}

@media (max-width: 768px) {
	.lcs-float {
		bottom: 16px;
		gap: 8px;
	}

	.lcs-float--right {
		right: 12px;
	}

	.lcs-float--left {
		left: 12px;
	}

	.lcs-float__btn {
		width: 46px;
		height: 46px;
		padding: 0;
		justify-content: center;
	}

	.lcs-float__label {
		display: none;
	}

	.lcs-float__icon {
		flex-basis: 24px;
		width: 24px;
		height: 24px;
	}

	/* Trang sách: thanh "Mua ngay" dính đáy → nút nổi nằm trên thanh. */
	body.lcs-has-sticky .lcs-float {
		bottom: 90px;
	}

	body.lcs-float-right .ct-back-to-top {
		left: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lcs-float__btn--call .lcs-float__icon {
		animation: none;
	}
}

.lcs-site-notice {
	padding: 10px 0;
	background: #071a17;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

@media (max-width: 768px) {
	/* Chừa chỗ cho nút nổi để dòng thông báo không bị che khi cuộn hết trang. */
	body.lcs-has-float .lcs-site-notice {
		padding-bottom: 72px;
	}
}


/* ds-allow-hardcode: theme Blocksy dùng biến --vs-* cho màu thương hiệu; kích thước/bóng/khoảng cách viết thẳng theo quy ước sẵn có của fashion.css. */
/* ==================================================================
 * LOCALSTORE – bố cục kiểu sàn local brand (inc/store.php, assets/js/store.js)
 * ================================================================== */

/* ---------- Header: chuyển "Mua sắm | Thử đồ AI", ô tìm kiếm bo tròn ---------- */
.lcs-modes {
	display: flex;
	gap: 26px;
	margin: 0;
	font-size: 17px;
	font-weight: 600;
}
.lcs-modes a {
	position: relative;
	color: var(--vs-ink);
	text-decoration: none;
	padding: 6px 0;
}
.lcs-modes a.is-on,
.lcs-modes a:hover {
	color: var(--vs-accent);
}
.lcs-modes a.is-on::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -2px;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: var(--vs-accent);
	transform: translateX(-50%);
}
.lcs-modes .lcs-new {
	position: absolute;
	top: -8px;
	right: -28px;
	font-size: 9.5px;
	line-height: 1;
	padding: 3px 5px;
	border-radius: 6px;
	background: var(--vs-sale);
	color: #fff;
	font-weight: 700;
}
.menu .lcs-menu-try > a {
	color: var(--vs-accent) !important;
	font-weight: 600 !important;
}
.menu .lcs-menu-sale > a {
	color: var(--vs-sale) !important;
}

/* ---------- Banner trượt coverflow ---------- */
.lcs-cf {
	position: relative;
	height: clamp(220px, 30vw, 340px);
	user-select: none;
}
.lcs-cf__slide {
	position: absolute;
	top: 0;
	left: 50%;
	width: min(760px, 78%);
	height: 100%;
	margin-left: calc(min(760px, 78%) / -2);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 14px 40px rgba(17, 17, 17, 0.16);
	transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.55s ease, filter 0.55s ease;
	opacity: 0;
	pointer-events: none;
}
.lcs-cf:not(.is-ready) .lcs-cf__slide:first-child,
.lcs-cf__slide[data-pos="0"] {
	opacity: 1;
	z-index: 5;
	pointer-events: auto;
	transform: none;
}
.lcs-cf__slide[data-pos="-1"],
.lcs-cf__slide[data-pos="1"] {
	opacity: 1;
	z-index: 4;
	pointer-events: auto;
	cursor: pointer;
	filter: blur(1.5px) brightness(0.92);
}
.lcs-cf__slide[data-pos="-1"] { transform: translateX(-30%) scale(0.78); }
.lcs-cf__slide[data-pos="1"] { transform: translateX(30%) scale(0.78); }
.lcs-cf__slide[data-pos="-2"],
.lcs-cf__slide[data-pos="2"] {
	opacity: 0.9;
	z-index: 3;
	filter: blur(3px) brightness(0.9);
}
.lcs-cf__slide[data-pos="-2"] { transform: translateX(-52%) scale(0.62); }
.lcs-cf__slide[data-pos="2"] { transform: translateX(52%) scale(0.62); }
.lcs-cf__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lcs-cf__nav {
	position: absolute;
	top: 50%;
	z-index: 8;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-top: -21px;
	padding: 0;
	border: 1px solid var(--vs-line);
	border-radius: 50%;
	background: #fff;
	color: var(--vs-ink);
	box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
	cursor: pointer;
}
.lcs-cf__nav--prev { left: 0; }
.lcs-cf__nav--prev svg { transform: rotate(180deg); }
.lcs-cf__nav--next { right: 0; }
.lcs-cf__nav:hover { color: var(--vs-accent); }
.lcs-cf__dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 22px;
}
.lcs-cf__dots button {
	min-height: 28px;
	min-width: 28px;
	padding: 0 6px;
	border: 0;
	background: none;
	color: #55555d;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}
.lcs-cf__dots button + button::before {
	content: "\2013";
	margin-right: 10px;
	color: #c5c5cc;
}
.lcs-cf__dots button.is-on { color: var(--vs-accent); font-weight: 700; }

@media (max-width: 767px) {
	.lcs-cf { height: 46vw; }
	.lcs-cf__slide { width: 86%; margin-left: -43%; }
	.lcs-cf__slide[data-pos="-1"] { transform: translateX(-24%) scale(0.82); }
	.lcs-cf__slide[data-pos="1"] { transform: translateX(24%) scale(0.82); }
	.lcs-cf__slide[data-pos="-2"],
	.lcs-cf__slide[data-pos="2"] { opacity: 0; }
	.lcs-cf__nav { display: none; }
	.lcs-cf__dots { gap: 2px; margin-top: 14px; }
	.lcs-cf__dots button { min-height: 24px; padding: 0 5px; font-size: 12px; }
	.lcs-cf__dots button + button::before { display: none; }
}

/* ---------- Tab dùng chung (móc treo, xếp hạng) ---------- */
.lcs-hg__tabs {
	display: flex;
	align-items: center;
	gap: 22px;
	overflow-x: auto;
	scrollbar-width: none;
	border-bottom: 1px solid var(--vs-line);
}
.lcs-hg__tabs::-webkit-scrollbar { display: none; }
.lcs-hg__tab {
	position: relative;
	flex-shrink: 0;
	min-height: 44px;
	padding: 0 2px;
	border: 0;
	background: none;
	color: var(--vs-text);
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}
.lcs-hg__tab.is-on { color: var(--vs-accent); }
.lcs-hg__tab.is-on::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--vs-accent);
}
.lcs-hg__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	flex-shrink: 0;
	color: var(--vs-accent);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

/* ---------- Móc treo bán chạy ---------- */
/* ds-allow-hardcode: thông số chuyển động / kích thước theo bố cục mẫu. Vị trí từng món do store.js tính (--cx, --cy, --w). */
html { overflow-x: clip; }
.lcs-hg {
	--hg-rail: 26px;     /* độ cao sào trong khung */
	--hg-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--hg-focus: 1.15;    /* phóng to món đang chọn */
	--hg-turn: 38deg;    /* góc nghiêng của món chưa chọn */
	--hg-shade: rgba(10, 10, 10, 0.16);
}
.lcs-hg__panel {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.lcs-hg__rack {
	position: relative;
	height: var(--hg-h, 520px);
	overflow: hidden;
	background: linear-gradient(180deg, #f1f1f3 0%, #f6f6f7 45%, #fbfbfb 100%);
	touch-action: pan-y;
	user-select: none;
}
.lcs-hg__rod {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 5;
	width: 100%;
	height: 80px;
	overflow: visible;
	pointer-events: none;
}
.lcs-hg__rod path { fill: none; stroke-linecap: round; }
.lcs-hg__rod-sh { stroke: rgba(10, 10, 10, 0.13); stroke-width: 7; filter: blur(3px); transform: translateY(10px); }
.lcs-hg__rod-m { stroke: #46474c; stroke-width: 7; }
.lcs-hg__rod-hl { stroke: #c9ccd2; stroke-width: 2; transform: translateY(-1.5px); }
.lcs-hg__row {
	position: absolute;
	inset: 0;
	z-index: 3;
	margin: 0;
	padding: 0;
	list-style: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.lcs-hg__item {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 100%;
	transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0);
	transition: transform 0.9s var(--hg-ease);
}
.lcs-hg__rack:not(.is-ready) .lcs-hg__item { transition: none; visibility: hidden; }
.lcs-hg__item.is-on { z-index: 2; }
.lcs-hg__link {
	position: absolute;
	top: 0;
	left: calc(var(--w, 160px) / -2);
	width: var(--w, 160px);
	height: 100%;
	display: block;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}
.lcs-hg__item.is-on .lcs-hg__link { cursor: zoom-in; }
.lcs-hg__link:focus-visible .lcs-hg__g { outline: 2px solid var(--vs-accent); outline-offset: 4px; border-radius: 8px; }
/* Lớp đung đưa: quay quanh điểm móc trên sào. */
.lcs-hg__sw {
	position: absolute;
	inset: 0;
	transform-origin: 50% var(--hg-rail);
}
.lcs-hg__item.is-swing .lcs-hg__sw { animation: lcs-hg-swing 1.6s var(--hg-ease); }
@keyframes lcs-hg-swing {
	0% { transform: rotate(0); }
	18% { transform: rotate(calc(var(--sd, 1) * 3.2deg)); }
	42% { transform: rotate(calc(var(--sd, 1) * -1.8deg)); }
	66% { transform: rotate(calc(var(--sd, 1) * 0.8deg)); }
	100% { transform: rotate(0); }
}
.lcs-hg__string {
	position: absolute;
	left: 50%;
	top: var(--hg-rail);
	width: 1px;
	height: 10px;
	background: #8d9097;
}
.lcs-hg__tag {
	position: absolute;
	left: 50%;
	top: calc(var(--hg-rail) + 9px);
	z-index: 4;
	transform: translateX(-50%);
	display: block;
	padding: 2px 5px;
	border: 1px solid #e1e1e6;
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 16, 16, 0.1);
	line-height: 1.3;
	text-align: center;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	transition: transform 0.9s var(--hg-ease);
}
.lcs-hg__item.is-on .lcs-hg__tag { transform: translateX(-50%) scale(1.12); }
.lcs-hg__tag b { display: block; font-size: 11px; font-weight: 700; color: var(--vs-ink); }
.lcs-hg__tag i { display: block; font-size: 9.5px; font-style: normal; font-weight: 700; color: var(--vs-sale); line-height: 1.2; }
.lcs-hg__hook {
	position: absolute;
	left: 50%;
	top: 36px;
	z-index: 3;
	width: 74px;
	height: auto;
	transform: translateX(-50%);
}
/* Món đồ = ảnh chụp áo treo trên móc thật (2 góc). Chưa chọn: ảnh nghiêng + mờ nhẹ; chọn: ảnh chính diện, phóng to quanh đỉnh móc. */
.lcs-hg__g {
	position: absolute;
	left: 50%;
	top: calc(var(--hg-rail) - 3px);
	width: var(--cw, 220px);
	aspect-ratio: 520 / 700;
	margin-left: calc(var(--cw, 220px) / -2);
	transform-origin: 50% 0;
	transition: transform 0.9s var(--hg-ease);
}
.lcs-hg__item.is-on .lcs-hg__g { transform: scale(var(--hg-focus)); }
.lcs-hg__v {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 50% 0;
	pointer-events: none;
	-webkit-user-drag: none;
	filter: drop-shadow(13px 14px 9px var(--hg-shade)) blur(0.6px);
	transition: opacity 0.3s ease, filter 0.3s ease;
}
.lcs-hg__v--front { opacity: 0; }
.lcs-hg__item.is-on .lcs-hg__v--side { opacity: 0; }
.lcs-hg__item.is-on .lcs-hg__v--front,
.lcs-hg__item.is-on .lcs-hg__v--flat { opacity: 1; filter: drop-shadow(16px 20px 14px var(--hg-shade)); }
/* Ảnh cũ chưa có ảnh treo móc: móc SVG + ảnh phẳng. */
.lcs-hg__v--flat { top: 66px; height: calc(100% - 66px); }
@media (prefers-reduced-motion: reduce) {
	.lcs-hg__item, .lcs-hg__g, .lcs-hg__tag { transition: none; }
	.lcs-hg__item.is-swing .lcs-hg__sw { animation: none; }
}
/* Thanh thông tin: gọn, căn giữa. */
.lcs-hg__bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin: 6px auto 0;
	padding: 0 16px;
	opacity: 0;
	transition: opacity 0.25s ease;
}
.lcs-hg__bar.is-ready { opacity: 1; }
.lcs-hg__bar.is-swap .lcs-hg__bar-txt,
.lcs-hg__bar.is-swap .lcs-hg__bar-img { animation: lcs-hg-fade 0.45s ease; }
@keyframes lcs-hg-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lcs-hg__bar-img {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	border-radius: 6px;
	object-fit: cover;
	background: var(--vs-soft);
}
.lcs-hg__bar-txt { min-width: 0; flex: 0 1 auto; max-width: 520px; display: flex; flex-direction: column; gap: 2px; }
.lcs-hg__bar-txt small { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vs-muted); }
.lcs-hg__bar-txt a { overflow: hidden; color: var(--vs-ink); font-size: 15.5px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.lcs-hg__bar-txt strong { font-size: 17px; color: var(--vs-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lcs-hg__go {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	margin-left: 22px;
	border-radius: 50%;
	background: linear-gradient(135deg, #c86bf2 0%, #7a2fd0 100%);
	color: #fff;
	box-shadow: 0 8px 18px rgba(139, 63, 217, 0.35);
	transition: transform 0.2s ease;
}
.lcs-hg__go .lcs-ico { font-size: 20px; transform: rotate(-45deg); }
.lcs-hg__go:hover { transform: scale(1.08); color: #fff; }
@media (max-width: 599px) {
	.lcs-hg__bar { gap: 12px; justify-content: flex-start; }
	.lcs-hg__bar-img { width: 52px; height: 52px; }
	.lcs-hg__bar-txt { flex: 1 1 auto; }
	.lcs-hg__bar-txt a { font-size: 14px; }
	.lcs-hg__go { width: 42px; height: 42px; margin-left: 0; }
	.lcs-hg__tabs { gap: 18px; }
	.lcs-hg__all { display: none; }
}

/* ---------- Hàng cuộn ngang có nút ---------- */
.lcs-scroller { position: relative; }
.lcs-scroller__btn {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-top: -19px;
	padding: 0;
	border: 1px solid var(--vs-line);
	border-radius: 50%;
	background: #fff;
	color: var(--vs-ink);
	box-shadow: 0 4px 14px rgba(17, 17, 17, 0.1);
	cursor: pointer;
}
.lcs-scroller__btn--prev { left: -14px; }
.lcs-scroller__btn--prev svg { transform: rotate(180deg); }
.lcs-scroller__btn--next { right: -14px; }
.lcs-scroller.at-start .lcs-scroller__btn--prev,
.lcs-scroller.at-end .lcs-scroller__btn--next { opacity: 0; pointer-events: none; }
@media (hover: none) { .lcs-scroller__btn { display: none; } }

/* ---------- Top danh mục ---------- */
.lcs-topcats {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 9 * 14px) / 10);
	gap: 14px;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
}
.lcs-topcats::-webkit-scrollbar { display: none; }
.lcs-topcat {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	scroll-snap-align: start;
}
.lcs-topcat__img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	margin-bottom: 10px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--vs-soft);
	transition: box-shadow 0.2s ease;
}
.lcs-topcat__img img { width: 100%; height: 100%; object-fit: cover; }
.lcs-topcat:hover .lcs-topcat__img { box-shadow: 0 0 0 2px var(--vs-accent); }
.lcs-topcat__name { color: var(--vs-ink); font-size: 14px; font-weight: 600; line-height: 1.3; }
.lcs-topcat__count { color: var(--vs-muted); font-size: 12.5px; }
@media (max-width: 999px) { .lcs-topcats { grid-auto-columns: 22%; } }
@media (max-width: 599px) { .lcs-topcats { grid-auto-columns: 29%; gap: 10px; } }

/* ---------- Thương hiệu ---------- */
.lcs-brands--row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * 18px) / 4);
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 2px 0 6px;
}
.lcs-brands--row::-webkit-scrollbar { display: none; }
.lcs-brands--grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}
.lcs-brand {
	scroll-snap-align: start;
	overflow: hidden;
	border: 1px solid var(--vs-line);
	border-radius: 12px;
	background: #fff;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.lcs-brand:hover { box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08); transform: translateY(-2px); }
.lcs-brand__cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--vs-soft); }
.lcs-brand__cover img { width: 100%; height: 100%; object-fit: cover; }
.lcs-brand__head { display: flex; align-items: center; gap: 12px; padding: 14px; }
.lcs-brand__head > div { min-width: 0; flex: 1; }
.lcs-brand__logo {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	margin-top: -38px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	object-fit: cover;
}
.lcs-brand h3 { margin: 0; font-size: 15px; letter-spacing: 0.04em; }
.lcs-brand h3 a { color: var(--vs-ink); text-decoration: none; }
.lcs-brand p { margin: 2px 0 0; overflow: hidden; color: var(--vs-muted); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.lcs-brand__go {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	min-height: 32px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--vs-ink);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
}
.lcs-brand__go:hover { background: var(--vs-accent); color: #fff; }
.lcs-brand__mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 14px 14px; }
.lcs-brand__mini img { width: 100%; aspect-ratio: 3 / 4; border-radius: 6px; object-fit: cover; }
@media (max-width: 999px) {
	.lcs-brands--row { grid-auto-columns: 46%; }
	.lcs-brands--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
	.lcs-brands--row { grid-auto-columns: 80%; }
	.lcs-brands--grid { grid-template-columns: 1fr; }
}
.lcs-card__brand {
	display: block;
	margin-bottom: 2px;
	color: var(--vs-muted);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

/* ---------- Xếp hạng ---------- */
.lcs-rank__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 28px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}
.lcs-rank__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px;
	border: 1px solid var(--vs-line);
	border-radius: 10px;
	background: #fff;
}
.lcs-rank__no {
	width: 34px;
	flex-shrink: 0;
	color: #b9b9c2;
	font-size: 22px;
	font-weight: 800;
	text-align: center;
}
.lcs-rank__item.is-top .lcs-rank__no { color: var(--vs-accent); }
.lcs-rank__img { flex-shrink: 0; width: 72px; }
.lcs-rank__img img { width: 72px; height: 96px; border-radius: 6px; object-fit: cover; }
.lcs-rank__txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.lcs-rank__brand { color: var(--vs-muted); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.lcs-rank__name { overflow: hidden; color: var(--vs-ink); font-size: 14.5px; font-weight: 500; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.lcs-rank__price { color: var(--vs-ink); font-weight: 700; }
.lcs-rank__price del { margin-right: 4px; color: var(--vs-muted); font-weight: 400; }
.lcs-rank__price ins { color: var(--vs-sale); text-decoration: none; }
.lcs-rank__sold { color: var(--vs-muted); }
@media (max-width: 767px) { .lcs-rank__list { grid-template-columns: minmax(0, 1fr); } }

/* ==================================================================
 * Thử đồ AI (inc/tryon.php, assets/js/tryon.js)
 * ================================================================== */
.lcs-try-open {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 46px;
	margin-top: 12px;
	border: 1.5px dashed var(--vs-accent);
	border-radius: 999px;
	background: #f6efff;
	color: var(--vs-accent);
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
}
.lcs-try-open:hover { border-style: solid; background: var(--vs-accent); color: #fff; }
.lcs-dialog.lcs-try-dialog { width: min(980px, calc(100% - 24px)); }
.lcs-try-dialog .lcs-try__stage { max-height: calc(100vh - 180px); margin: 0 auto; }
.lcs-try__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 28px;
	align-items: start;
}
.lcs-try--single .lcs-try__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lcs-try__stage {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 14px;
	background: var(--vs-soft);
}
.lcs-try--studio .lcs-try__col:first-child { position: sticky; top: 100px; }
.lcs-try__drop {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	border: 2px dashed #cfcfd8;
	border-radius: 14px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.lcs-try__drop:hover,
.lcs-try__drop.is-drag { border-color: var(--vs-accent); background: #f6efff; }
.lcs-try__drop.has-photo { border-style: solid; border-color: transparent; }
.lcs-try__drop.has-photo .lcs-try__drop-empty { display: none; }
.lcs-try__drop-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px; color: var(--vs-muted); font-size: 13.5px; }
.lcs-try__drop-empty svg { color: var(--vs-accent); }
.lcs-try__drop-empty strong { color: var(--vs-ink); font-size: 16px; }
.lcs-try__drop-btn {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin-top: 6px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--vs-ink);
	color: #fff;
	font-weight: 600;
}
.lcs-try__preview,
.lcs-try__result img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lcs-try__result { position: absolute; inset: 0; margin: 0; }
.lcs-try__result figcaption {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.9);
	color: var(--vs-text);
	font-size: 12px;
}
.lcs-try__busy {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: rgba(17, 17, 17, 0.55);
	color: #fff;
	text-align: center;
	backdrop-filter: blur(3px);
}
.lcs-try__busy[hidden],
.lcs-try__result[hidden],
.lcs-try__preview[hidden],
.lcs-try__drop[hidden],
.lcs-try__dl[hidden],
.lcs-try__again[hidden] { display: none; }
.lcs-try__spin {
	width: 44px;
	height: 44px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: lcs-spin 0.9s linear infinite;
}
@keyframes lcs-spin { to { transform: rotate(360deg); } }
.lcs-try__step { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 16px; color: var(--vs-text); font-size: 13.5px; }
.lcs-try__step span {
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--vs-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}
.lcs-try__picked { display: grid; gap: 10px; margin-bottom: 14px; }
.lcs-try__picked-empty { margin: 0; padding: 14px; border: 1px dashed var(--vs-line); border-radius: 10px; color: var(--vs-muted); font-size: 13.5px; text-align: center; }
.lcs-try__pk { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--vs-line); border-radius: 10px; background: #fff; }
.lcs-try__pk img { width: 56px; height: 70px; border-radius: 6px; background: var(--vs-soft); object-fit: cover; }
.lcs-try__pk-txt { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; font-size: 13px; }
.lcs-try__pk-txt small { color: var(--vs-muted); font-size: 11.5px; }
.lcs-try__pk-txt a { overflow: hidden; color: var(--vs-ink); font-weight: 600; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.lcs-try__sw { display: flex; gap: 6px; margin-top: 4px; }
.lcs-try__dot {
	width: 22px;
	height: 22px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 0 1px #c9c9d1;
	cursor: pointer;
}
.lcs-try__dot.is-on { box-shadow: 0 0 0 2px var(--vs-accent); }
.lcs-try__rm {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--vs-soft);
	color: var(--vs-ink);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
.lcs-try__consent { display: flex; align-items: flex-start; gap: 8px; color: var(--vs-text); font-size: 12.5px; line-height: 1.45; }
.lcs-try__consent input { margin-top: 2px; accent-color: var(--vs-accent); }
.lcs-try__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.lcs-try__go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #b25bf0 0%, #7a2fd0 100%);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(139, 63, 217, 0.3);
	cursor: pointer;
}
.lcs-try__go:disabled { opacity: 0.6; cursor: progress; }
.lcs-try__dl,
.lcs-try__again {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0 20px;
	border: 1px solid var(--vs-line);
	border-radius: 999px;
	background: #fff;
	color: var(--vs-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.lcs-try__msg { min-height: 20px; margin: 10px 0 0; color: #1f8a4c; font-size: 13.5px; }
.lcs-try__msg.is-bad { color: var(--vs-sale); }
.lcs-try__left,
.lcs-try__more { margin: 4px 0 0; color: var(--vs-muted); font-size: 12.5px; }
.lcs-try__more a { color: var(--vs-accent); font-weight: 600; }
.lcs-try__off { padding: 12px 16px; border-radius: 10px; background: #fff4e5; color: #8a5300; }
.lcs-try__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 14px; }
.lcs-try__tab {
	min-height: 36px;
	padding: 0 16px;
	border: 1px solid var(--vs-line);
	border-radius: 999px;
	background: #fff;
	color: var(--vs-ink);
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
}
.lcs-try__tab.is-on { border-color: var(--vs-ink); background: var(--vs-ink); color: #fff; }
.lcs-try__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lcs-try__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 6px;
	border: 1.5px solid var(--vs-line);
	border-radius: 10px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease;
}
.lcs-try__item:hover { border-color: #b9b9c4; }
.lcs-try__item.is-on { border-color: var(--vs-accent); box-shadow: 0 0 0 2px rgba(139, 63, 217, 0.18); }
.lcs-try__item-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: #fff; }
.lcs-try__item-img img { width: 100%; height: 100%; object-fit: contain; }
.lcs-try__item-name { display: -webkit-box; overflow: hidden; color: var(--vs-ink); font-size: 12.5px; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lcs-try__item-price { color: var(--vs-ink); font-size: 12.5px; font-weight: 700; }
@media (max-width: 899px) {
	.lcs-try__grid,
	.lcs-try--single .lcs-try__grid { grid-template-columns: 1fr; gap: 18px; }
	.lcs-try--studio .lcs-try__col:first-child { position: relative; top: 0; }
	.lcs-try__stage { width: 100%; max-width: 420px; margin: 0 auto; }
	.lcs-try__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 479px) { .lcs-try__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Thử đồ: bắt buộc đăng nhập + mua ngay trong phòng thử (inc/tryon.php, inc/google-login.php) ---------- */
/* ds-allow-hardcode: theo quy ước fashion.css (biến --vs-* cho màu thương hiệu). */
.lcs-try__gate {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 24px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.94);
	text-align: center;
	color: var(--vs-muted);
	font-size: 13.5px;
	transition: box-shadow 0.3s ease;
}
.lcs-try__gate svg { color: var(--vs-accent); }
.lcs-try__gate strong { color: var(--vs-ink); font-size: 17px; }
.lcs-try__gate.is-pulse { box-shadow: inset 0 0 0 3px var(--vs-accent); }
.lcs-try__gate .lcs-gbtn { margin-top: 6px; }
.lcs-try__gate-mail { color: var(--vs-accent); font-weight: 600; font-size: 13.5px; }
.lcs-gbtn { display: flex; justify-content: center; min-height: 44px; width: 100%; max-width: 360px; }
.lcs-gbtn__msg { min-height: 18px; margin: 4px 0 0; font-size: 12.5px; color: var(--vs-muted); }
.lcs-gbtn__msg.is-bad { color: var(--vs-sale); }
.lcs-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; color: var(--vs-muted); font-size: 13px; }
.lcs-or::before,
.lcs-or::after { content: ""; flex: 1; height: 1px; background: var(--vs-line); }
.woocommerce-form-login .lcs-gbtn,
.woocommerce-form-register .lcs-gbtn { max-width: none; }

.lcs-try__sz { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.lcs-try__szb {
	min-width: 34px;
	min-height: 30px;
	padding: 0 8px;
	border: 1px solid var(--vs-line);
	border-radius: 6px;
	background: #fff;
	color: var(--vs-ink);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}
.lcs-try__szb.is-on { border-color: var(--vs-ink); background: var(--vs-ink); color: #fff; }
.lcs-try__szb:disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.lcs-try__pk-act { margin-top: 6px; }
.lcs-try__add {
	min-height: 32px;
	padding: 0 14px;
	border: 1px solid var(--vs-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--vs-accent);
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
}
.lcs-try__add:hover { background: var(--vs-accent); color: #fff; }
.lcs-try__ok { color: #1f8a4c; font-size: 12.5px; font-weight: 600; }
.lcs-try__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; padding: 14px; border-radius: 12px; background: #f6efff; }
.lcs-try__buy[hidden] { display: none; }
.lcs-try__buyall {
	min-height: 46px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--vs-ink);
	color: #fff;
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
}
.lcs-try__buyall:hover { background: var(--vs-accent); }
.lcs-try__cart { color: var(--vs-accent); font-weight: 600; }
.lcs-try__cart[hidden] { display: none; }

.lcs-try__stage:has(.lcs-try__gate) .lcs-try__drop-empty { visibility: hidden; }

/* ---------- Ảnh thử đồ đã lưu (Google Drive) – inc/tryon-saved.php, assets/js/tryon-drive.js ---------- */
/* ds-allow-hardcode: theo quy ước fashion.css. */
.lcs-try__drive {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 18px;
	border: 1px solid var(--vs-line);
	border-radius: 999px;
	background: #fff;
	color: var(--vs-ink);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.lcs-try__drive[hidden],
.lcs-try__btns [data-try-share][hidden] { display: none; }
.lcs-try__drive:disabled { opacity: 0.6; cursor: progress; }
.lcs-share {
	position: relative;
	z-index: 20;
	margin-top: 10px;
	padding: 14px;
	border: 1px solid var(--vs-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(17, 17, 17, 0.12);
	font-size: 13px;
}
.lcs-share p { margin: 0 0 8px; color: var(--vs-muted); }
.lcs-share input { width: 100%; margin-bottom: 10px; font-size: 13px; }
.lcs-share div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lcs-share button,
.lcs-share a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--vs-line);
	border-radius: 999px;
	background: #fff;
	color: var(--vs-ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.lcs-share [data-copy] { background: var(--vs-ink); border-color: var(--vs-ink); color: #fff; }
.lcs-share [data-close] { margin-left: auto; padding: 0 12px; }
.lcs-saved-wrap--studio { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--vs-line); }
.lcs-saved-wrap h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; font-size: 20px; }
.lcs-saved-wrap h2 a { color: var(--vs-accent); font-size: 14px; font-weight: 600; }
.lcs-saved__intro { color: var(--vs-text); }
.lcs-saved__intro a { color: var(--vs-accent); font-weight: 600; }
.lcs-saved { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.lcs-saved__item { margin: 0; border: 1px solid var(--vs-line); border-radius: 12px; overflow: hidden; background: #fff; }
.lcs-saved__img { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--vs-soft); }
.lcs-saved__img img { width: 100%; height: 100%; object-fit: cover; }
.lcs-saved__noimg { position: absolute; inset: 0; display: none; place-items: center; padding: 12px; color: var(--vs-accent); font-size: 13px; font-weight: 600; text-align: center; }
.lcs-saved__img.is-noimg img { display: none; }
.lcs-saved__img.is-noimg .lcs-saved__noimg { display: grid; }
.lcs-saved__item figcaption { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; font-size: 12.5px; color: var(--vs-muted); }
.lcs-saved__badge { align-self: flex-start; padding: 1px 8px; border-radius: 999px; background: #f6efff; color: var(--vs-accent); font-weight: 600; }
.lcs-saved__prods { display: flex; flex-direction: column; gap: 2px; }
.lcs-saved__prods a { color: var(--vs-ink); font-weight: 500; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcs-saved__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.lcs-saved__acts button,
.lcs-saved__acts a { min-height: 30px; padding: 0 10px; border: 1px solid var(--vs-line); border-radius: 999px; background: #fff; color: var(--vs-ink); font-size: 12px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; }
.lcs-saved__acts [data-saved-share] { border-color: var(--vs-accent); color: var(--vs-accent); }
.lcs-saved__acts [data-saved-del] { color: var(--vs-sale); }
.lcs-saved__empty { padding: 20px; border: 1px dashed var(--vs-line); border-radius: 12px; color: var(--vs-muted); text-align: center; }
.lcs-saved__msg { min-height: 20px; margin-top: 12px; font-size: 13.5px; color: #1f8a4c; }
.lcs-saved__msg.is-bad { color: var(--vs-sale); }
@media (max-width: 599px) { .lcs-saved { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* Link trong dòng bản quyền chân trang: gạch chân để không chỉ phân biệt bằng màu. */
.ct-footer-copyright a { text-decoration: underline !important; text-underline-offset: 2px; }
.lcs-hg__tablist { display: flex; align-items: center; gap: inherit; }
