/*
 * Theme feature CSS.
 */

.woocommerce-ordering {
	display: none;
}

.shop-page-title {
	display: none;
}

.profile-tactical {
	margin-top: 10px;
}

.shop-products-intro > .shop-products-header {
	margin-top: 15px;
}

.category-page-row {
	padding-top: 10px;
}

/* =========================================
   Profile Tactical (trang cửa hàng)
   ========================================= */
.shop-profile-tactical-wrapper {
	--radius: 12px;
	--shadow: 0 2px 8px rgba(0,0,0,0.06);
	--border: #e5e7eb;
	--text-main: #1f2937;
	--text-sub: #6b7280;
}

.profile-tactical {
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	position: relative;
	border: 1px solid var(--border);
}

.pt-cover {
	width: 100%;
	background-color: #f3f4f6;
	line-height: 0;
	overflow: hidden;
}

.pt-cover img {
	display: block;
	width: 100%;
	height: auto;
}

.pt-body {
	position: relative;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-top: -60px;
}

.pt-avatar-box {
	position: relative;
	margin-bottom: 15px;
	z-index: 5;
}

.pt-avatar {
	width: 130px;
	height: 130px;
	border-radius: 50%;
	border: 4px solid #fff;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	background: #fff;
	object-fit: cover;
}

.pt-info {
	flex: 1;
	z-index: 5;
	padding-top: 5px;
}

.pt-name {
	font-size: 22px;
	font-weight: 800;
	color: var(--text-main);
	margin-bottom: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.pt-rank-badge {
	color: #007bff;
	font-size: 18px;
}

.pt-bio {
	color: var(--text-sub);
	font-size: 14px;
	margin-bottom: 15px;
}

.pt-bio p {
	margin-bottom: 4px;
}

.pt-bio .text-secondary {
	color: #6b7280 !important;
}

.pt-bio .text-danger {
	color: #dc2626 !important;
}

.pt-bio .fw-bold {
	font-weight: 700 !important;
}

.pt-bio .mb-1 {
	margin-bottom: 0.25rem !important;
}

.pt-bio .mb-0 {
	margin-bottom: 0 !important;
}

.pt-actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-tactical {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 24px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none !important;
	transition: all 0.2s;
	border: none;
	text-transform: uppercase;
	min-width: 130px;
}

.btn-tactical:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-zalo-tac {
	background: #0088FF;
	color: #fff;
}

.btn-zalo-tac:hover {
	color: #fff;
	opacity: 0.95;
}

.btn-fb-tac {
	background: #0088FF;
	color: #fff;
}

.btn-fb-tac:hover {
	color: #fff;
	opacity: 0.95;
}

@media (min-width: 768px) {
	.pt-body {
		flex-direction: row;
		align-items: flex-end;
		text-align: left;
		padding: 20px 30px 30px 30px;
		margin-top: 0;
		gap: 25px;
	}
	.pt-avatar-box {
		margin-bottom: 0;
		margin-top: -80px;
	}
	.pt-avatar {
		width: 160px;
		height: 160px;
		border: 5px solid #fff;
	}
	.pt-name,
	.pt-actions {
		justify-content: flex-start;
	}
	.pt-info {
		padding-top: 0;
	}
}

/* Tiêu đề trước danh sách sản phẩm */
.shop-products-intro {
	margin-bottom: 1.2rem;
}
.shop-products-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	padding: 0.6rem 1rem;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
}
.shop-products-header .dmtx-sort-dropdown-wrap {
	margin-top: 0;
	margin-left: auto;
}
.shop-products-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
	color: #1f2937;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex: 0 1 auto;
	width: auto;
}
.shop-products-title i {
	font-size: 1.35rem;
}

/* Main menu dạng nút dưới tiêu đề Danh Sách Acc */
.shop-main-menu {
	display: inline-block;
	margin-top: 0.35rem;
	vertical-align: middle;
}

.shop-main-menu .nav-main {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-start;
}

.shop-main-menu .nav-main > li {
	margin: 0;
}

.shop-main-menu .nav-main > li > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	border-radius: 999px;
	background: #f3f4f6;
	color: #374151;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	transition: all 0.15s ease;
	border: 1px solid transparent;
}

.shop-main-menu .nav-main > li.current-menu-item > a,
.shop-main-menu .nav-main > li.current-menu-ancestor > a {
	background: #2563eb;
	color: #ffffff;
	border-color: #1d4ed8;
}

.shop-main-menu .nav-main > li > a:hover {
	background: #e5e7eb;
	color: #111827;
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.dmtx-sort-dropdown-wrap {
	display: inline-block;
	position: relative;
	margin-top: 0.35rem;
	margin-left: 0.5rem;
	vertical-align: middle;
}

.dmtx-sort-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.4em;
	margin: 0;
	padding: 0.45em 0.95em;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #f9fafb;
	color: #374151;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.1;
	text-transform: none;
	letter-spacing: 0;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.dmtx-sort-dropdown-wrap.is-open .dmtx-sort-toggle {
	background: #2563eb;
	border-color: #1d4ed8;
	color: #ffffff;
	box-shadow: 0 2px 6px rgba(37, 99, 235, 0.22);
}

.dmtx-sort-arrow {
	font-size: 0.85em;
	line-height: 1;
	transition: transform 0.15s ease;
}

.dmtx-sort-dropdown-wrap.is-open .dmtx-sort-arrow {
	transform: rotate(180deg);
}

.dmtx-sort-dropdown {
	position: absolute;
	top: calc(100% + 0.4rem);
	right: 0;
	z-index: 30;
	display: none;
	min-width: 170px;
	margin: 0;
	padding: 0.35rem;
	list-style: none;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.dmtx-sort-dropdown-wrap.is-open .dmtx-sort-dropdown {
	display: block;
}

.dmtx-sort-dropdown li {
	margin: 0;
}

.dmtx-sort-dropdown a {
	display: block;
	padding: 0.5rem 0.7rem;
	border-radius: 8px;
	color: #374151;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.dmtx-sort-dropdown a:hover,
.dmtx-sort-dropdown a.is-active {
	background: #2563eb;
	color: #ffffff;
}

/* Menu giá hiển thị cạnh nút sắp xếp trong tiêu đề danh mục WooCommerce */
.neil-price-filter-menu {
	display: inline-block;
	margin: 5px 0 5px 0.45rem;
	vertical-align: middle;
}

.neil-price-filter-menu .nav-price-filter {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: flex-end;
	margin: 0;
}

.neil-price-filter-menu .nav-price-filter > li {
	margin: 0;
}

.neil-price-filter-menu .nav-price-filter > li > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.35em;
	padding: 0.45em 0.85em;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #f9fafb;
	color: #374151;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.neil-price-filter-menu .nav-price-filter > li.current-menu-item > a,
.neil-price-filter-menu .nav-price-filter > li.current-menu-ancestor > a,
.neil-price-filter-menu .nav-price-filter > li > a:hover {
	background: #2563eb;
	border-color: #1d4ed8;
	color: #ffffff;
	box-shadow: 0 2px 6px rgba(37, 99, 235, 0.22);
}

.breadcrumbs .breadcrumb-sku-divider {
	color: inherit;
	font: inherit;
	font-weight: 400;
	letter-spacing: inherit;
	opacity: 1;
	text-transform: inherit;
}

.product-info .breadcrumbs a {
	color: inherit;
	font: inherit;
	font-weight: 400;
	letter-spacing: inherit;
	text-transform: inherit;
}

.breadcrumbs .breadcrumb-sku-copy {
	display: inline-flex;
	align-items: center;
	gap: 0.25em;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 400;
	letter-spacing: inherit;
	line-height: inherit;
	text-transform: inherit;
	vertical-align: baseline;
	cursor: pointer;
}

.breadcrumbs .breadcrumb-sku-copy:hover,
.breadcrumbs .breadcrumb-sku-copy:focus-visible {
	color: currentColor;
	text-decoration: underline;
}

.breadcrumbs .breadcrumb-sku-copy-icon {
	width: 0.95em;
	height: 0.95em;
	flex: 0 0 auto;
	opacity: 0.75;
}

.breadcrumbs .breadcrumb-sku-copy.is-copied .breadcrumb-sku-copy-icon {
	color: #16a34a;
	filter: drop-shadow(0 0 4px rgba(22, 163, 74, 0.85));
	opacity: 1;
}

.product-small .box-text {
	position: relative;
	container-type: inline-size;
	--product-card-badge-bottom: 0.75rem;
	--product-card-badge-edge: 0.75rem;
	--product-card-badge-height: 24px;
	--product-card-badge-padding: 0.28rem 0.5rem;
	--product-card-badge-radius: 6px;
	--product-card-badge-font-size: 0.72rem;
	--product-card-badge-font-weight: 700;
	--product-card-badge-line-height: 1;
	--product-card-badge-gap: 0.28em;
}

.box-text .product-card-sku-copy,
.stock-status-label {
	position: absolute;
	bottom: var(--product-card-badge-bottom, 0.75rem);
	display: inline-flex;
	align-items: center;
	gap: var(--product-card-badge-gap, 0.28em);
	box-sizing: border-box;
	height: var(--product-card-badge-height, 24px);
	min-height: var(--product-card-badge-height, 24px);
	max-height: var(--product-card-badge-height, 24px);
	min-width: 0;
	margin: 0;
	padding: var(--product-card-badge-padding, 0.28rem 0.5rem);
	border-radius: var(--product-card-badge-radius, 6px);
	font-family: inherit;
	font-size: var(--product-card-badge-font-size, 0.72rem);
	font-weight: var(--product-card-badge-font-weight, 700);
	line-height: var(--product-card-badge-line-height, 1);
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
}

.box-text .product-card-sku-copy {
	left: var(--product-card-badge-edge, 0.75rem);
	width: fit-content;
	max-width: calc(100% - 1rem);
	border: 1px solid rgba(229, 231, 235, 0.95);
	background: rgba(249, 250, 251, 0.96);
	color: #374151;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
	cursor: pointer;
	appearance: none;
}

.box-text:has(.product-card-sku-copy) {
	position: relative;
	padding-bottom: 3.35rem;
}

.box-text .product-card-sku-copy:hover,
.box-text .product-card-sku-copy:focus-visible {
	background: #ffffff;
	color: #111827;
}

.box-text .product-card-sku-copy .neil-sku-copy-label,
.box-text .product-card-sku-copy .product-card-sku {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.box-text .product-card-sku-copy .product-card-sku {
	flex: 1 1 auto;
}

.box-text .product-card-sku-copy .neil-sku-copy-label {
	flex: 0 0 auto;
	opacity: 0.82;
}

.box-text .product-card-sku-copy-icon {
	width: 0.95em;
	height: 0.95em;
	flex: 0 0 auto;
	opacity: 0.82;
}

.neil-sku-copy-button.is-copied .neil-sku-copy-icon {
	color: #16a34a;
	filter: drop-shadow(0 0 4px rgba(22, 163, 74, 0.85));
	opacity: 1;
}

@media (max-width: 549px) {
	.product-small .box-text {
		--product-card-badge-bottom: 0.55rem;
		--product-card-badge-edge: 0.5rem;
		--product-card-badge-gap: 0.2em;
		--product-card-badge-height: 20px;
		--product-card-badge-padding: 0.22rem 0.38rem;
		--product-card-badge-font-size: 0.64rem;
	}

	.box-text .product-card-sku-copy .neil-sku-copy-label {
		display: none;
	}
}

@media (max-width: 768px) {
	.shop-main-menu .nav-main {
		gap: 0.35rem;
	}

	.shop-main-menu .nav-main > li > a {
		padding: 5px 12px;
		font-size: 11px;
	}

	.dmtx-sort-dropdown-wrap {
		margin-left: 0.35rem;
	}

	.dmtx-sort-toggle {
		min-height: 2.5em;
		padding: 0.5em 1em;
		font-size: 0.85rem;
	}

	.neil-price-filter-menu {
		display: block;
		margin-left: 0;
	}

	.neil-price-filter-menu .nav-price-filter {
		justify-content: center;
	}

	.neil-price-filter-menu .nav-price-filter > li > a {
		min-height: 2.25em;
		padding: 0.42em 0.75em;
		font-size: 0.72rem;
	}
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
