.cptu-mall [hidden] { display: none !important; }

.cptu-mall .cptu-mall-header {
	max-width: 1180px;
	margin: 0 auto;
	padding: 42px 24px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.cptu-mall-header h1 { margin: 0; color: var(--cptu-text); font-size: clamp(28px, 3vw, 40px); line-height: 1.3; }
.cptu-mall-header p { margin: 12px 0 0; color: var(--cptu-muted); font-size: 15px; white-space: pre-line; }
.cptu-mall-nav { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.cptu-mall-nav a { color: var(--cptu-primary-dark); font-size: 14px; text-decoration: none; }
.cptu-mall .cptu-mall-nav .cptu-button { min-height: 44px; padding: 10px 20px; font-size: 14px; }
.cptu-mall-announcement { width: 100%; max-width: none; margin: 0; padding: 16px 24px; border: 0; border-radius: 0; color: #fff; background: #1976d2; font-size: 16px; font-weight: 650; line-height: 1.8; text-align: center; overflow-wrap: anywhere; }
.cptu-mall-announcement p { margin: 0; color: inherit; font: inherit; }
.cptu-mall-announcement p + p { margin-top: 8px; }
.cptu-mall-announcement a { color: inherit; text-decoration: underline; }
.cptu-mall-announcement img { max-width: 100%; height: auto; }
.cptu-mall-tools { max-width: 1180px; margin: 0 auto; padding: 0 24px 26px; display: flex; align-items: center; gap: 20px; }
.cptu-mall-tools .cptu-category-filter { min-width: 0; flex: 1; max-width: none; margin: 0; padding: 4px 0 12px; }
.cptu-mall :is(button, a, input, summary):focus-visible { outline: 3px solid var(--cptu-primary); outline-offset: 3px; }
.cptu-mall .cptu-mall-grid { gap: 24px; padding-bottom: 90px; }
.cptu-mall .cptu-mall-card { padding: 26px; border-radius: 20px; box-shadow: 0 16px 48px rgba(50, 49, 105, .09); }
.cptu-mall-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--cptu-primary), #6f9eff, var(--cptu-secondary)); }
.cptu-mall-card-tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; }
.cptu-mall-category { padding: 6px 12px; border-radius: 999px; background: #f0edff; color: var(--cptu-primary-dark); font-size: 12px; font-weight: 750; }
.cptu-mall .cptu-mall-card h2 { margin: 0 0 10px; color: var(--cptu-text); font-size: 21px; line-height: 1.45; overflow-wrap: anywhere; }
.cptu-mall-subtitle { min-height: 44px; margin: 0 0 14px; color: var(--cptu-muted); font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cptu-mall-details { margin: 0 0 22px; }
.cptu-mall-details summary { width: fit-content; padding: 4px 0; color: var(--cptu-primary-dark); font-size: 14px; font-weight: 650; cursor: pointer; }
.cptu-mall-details .cptu-mall-details-open,
.cptu-mall-details[open] .cptu-mall-details-closed { display: none; }
.cptu-mall-details[open] .cptu-mall-details-open { display: inline; }
.cptu-mall-details[open] summary { margin-bottom: 12px; }
.cptu-mall-details ul { padding: 16px 0 0; }
.cptu-mall .cptu-product-description { overflow-wrap: anywhere; }
.cptu-mall .cptu-product-description img { max-width: 100%; height: auto; }
.cptu-mall .cptu-product-description table { display: block; max-width: 100%; overflow-x: auto; }
.cptu-mall-card-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--cptu-border); }
.cptu-mall-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 14px; overflow-wrap: anywhere; }
.cptu-mall-price strong { color: #e85b30; font-size: 28px; line-height: 1.2; }
.cptu-mall-price del { color: #9299aa; font-size: 13px; }
.cptu-mall-card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cptu-mall-card-actions .cptu-product-stock { margin: 0; }
.cptu-mall .cptu-mall-card-actions .cptu-button { min-height: 44px; max-width: 100%; padding: 10px 20px; font-size: 14px; white-space: normal; }
.cptu-mall-stock-support { margin: 12px 0 0; padding: 0; border: 0; background: transparent; color: var(--cptu-primary-dark); font-size: 13px; cursor: pointer; text-decoration: underline; }
.cptu-mall-checkout-description { margin-top: 16px; }
.cptu-mall .cptu-order-summary { min-width: 0; overflow-wrap: anywhere; }
.cptu-mall .cptu-support-button { text-decoration: none; }

@media (max-width: 1024px) {
	.cptu-mall .cptu-mall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cptu-mall-tools { flex-wrap: wrap; }
	.cptu-mall-tools .cptu-category-filter { flex-basis: 100%; }
}
@media (max-width: 640px) {
	.cptu-mall .cptu-mall-header { padding: 28px 16px 22px; align-items: flex-start; flex-direction: column; gap: 18px; }
	.cptu-mall-nav { width: 100%; justify-content: flex-end; }
	.cptu-mall-announcement { padding: 12px 16px; font-size: 14px; }
	.cptu-mall-tools { padding: 0 16px 22px; gap: 10px; }
	.cptu-mall .cptu-mall-grid { grid-template-columns: 1fr; padding-right: 16px; padding-left: 16px; gap: 18px; }
	.cptu-mall .cptu-mall-card { padding: 24px; }
	.cptu-mall .cptu-empty { padding: 40px 20px; }
}
