/* Tên lô acc - trang chi tiết */
.product_title {
	display: none !important;
}

/* Tên lô acc - trang danh sách */
.title-wrapper {
	display: none !important;
}

/* Giá acc plugin ShopAcc-Core - trang chi tiết */
/* Sử dụng làm giá thuê theo % hoặc tính góp */
#product-price {
	display: none !important;
}

/* Các phần khác - trang chi tiết */
.in-stock, /* Tình trạng */
.cart, /* Giỏ hàng */
.wc-tabs-wrapper { /* Mô tả sản phẩm */
	display: none !important;
}

.shopacc-message {
	box-sizing: border-box;
	margin: 12px 0;
	max-width: 100%;
}

.shopacc-message--alert {
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.45;
	border: 1px solid transparent;
}

.shopacc-message--alert.shopacc-message--success {
	background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 100%);
	color: #065f46;
	border-color: rgba(16, 185, 129, 0.28);
	box-shadow: 0 1px 2px rgba(6, 95, 70, 0.06);
}

.shopacc-message--alert.shopacc-message--error {
	background: linear-gradient(145deg, #fff1f2 0%, #ffe4e6 100%);
	color: #9f1239;
	border-color: rgba(244, 63, 94, 0.28);
	box-shadow: 0 1px 2px rgba(159, 18, 57, 0.06);
}

.shopacc-message--progress {
	padding: 6px 8px 8px;
	border-radius: 8px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
	box-shadow:
		0 1px 1px rgba(15, 23, 42, 0.04),
		0 2px 8px -3px rgba(15, 23, 42, 0.08);
}

.shopacc-message--progress.shopacc-message--success {
	border-color: rgba(16, 185, 129, 0.22);
}

.shopacc-message--progress.shopacc-message--error {
	border-color: rgba(244, 63, 94, 0.25);
	background: linear-gradient(165deg, #fffbfb 0%, #fff1f2 45%, #ffe4e6 100%);
}

.shopacc-progress-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 6px;
	margin-bottom: 5px;
}

.shopacc-progress-head--solo {
	justify-content: center;
	margin-bottom: 5px;
}

.shopacc-progress-title {
	font-size: 11px;
	font-weight: 600;
	color: #0f172a;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.shopacc-message--progress.shopacc-message--error .shopacc-progress-title {
	color: #881337;
}

.shopacc-progress-pct {
	font-size: 11px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: #047857;
	letter-spacing: -0.02em;
	line-height: 1;
}

.shopacc-message--progress.shopacc-message--error .shopacc-progress-pct {
	color: #be123c;
}

.shopacc-progress-pct--solo {
	font-size: clamp(12px, 2vw, 14px);
	font-weight: 600;
}

.shopacc-progress-track {
	position: relative;
	height: 5px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.07);
	box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.07);
	overflow: hidden;
}

.shopacc-progress-fill {
	height: 100%;
	width: 0%;
	border-radius: inherit;
	transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.shopacc-progress-fill--success {
	background: linear-gradient(90deg, #34d399 0%, #10b981 42%, #059669 100%);
	box-shadow:
		0 0 6px rgba(16, 185, 129, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.shopacc-progress-fill--error {
	background: linear-gradient(90deg, #fb7185 0%, #f43f5e 45%, #e11d48 100%);
	box-shadow:
		0 0 6px rgba(244, 63, 94, 0.26),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.shopacc-progress-fill::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		transparent 0%,
		rgba(255, 255, 255, 0.22) 45%,
		transparent 75%
	);
	transform: translateX(-120%);
	animation: shopacc-progress-shine 2s ease-in-out infinite;
}

.shopacc-progress-fill.shopacc-progress-fill--done::after {
	animation: none;
	opacity: 0;
}

@keyframes shopacc-progress-shine {
	0% {
		transform: translateX(-120%);
	}
	55%,
	100% {
		transform: translateX(120%);
	}
}
