.stql-header-link {
	position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	width: 58px; min-height: 54px; margin-left: 8px; gap: 2px; color: #171717; text-decoration: none;
}
.stql-header-link:hover, .stql-header-link:focus-visible { color: #b5121b; }
.stql-header-link:focus-visible { outline: 2px solid #b5121b; outline-offset: 3px; }
.stql-header-link .stql-header-icon { display: block; width: 30px; height: 30px; }
.stql-icon-accent { stroke: #b5121b; stroke-width: 2; }
.stql-header-label { font-size: 10px; line-height: 1.1; font-weight: 700; letter-spacing: .35px; text-transform: uppercase; }
.stql-header-count {
	position: absolute; top: 1px; right: 3px; display: inline-flex; align-items: center; justify-content: center;
	min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px;
	background: #b5121b; color: #fff; font: 700 11px/1 Arial, sans-serif; border: 1px solid #fff;
}
.stql-footer-socials { margin-top: 14px; }
.stql-footer-socials .wd-social-icons.santian-header-socials { display: flex; align-items: center; justify-content: flex-start; gap: 12px; }
.stql-footer-socials .wd-social-icon {
	display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
	margin: 0; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 2px;
	color: #fff !important; background: transparent !important; font-size: 16px;
}
.stql-footer-socials .wd-social-icon:hover, .stql-footer-socials .wd-social-icon:focus-visible { color: #ffdf00 !important; border-color: #ffdf00; }
.stql-footer-socials .santian-social-email svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media(max-width: 1024px) { .stql-footer-socials { display: none; } }
.stql-add-form { margin: 0; }
.stql-product-action { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 100%; }
.stql-add-button, .stql-primary {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 42px; padding: 10px 20px; border: 1px solid #b5121b; border-radius: 2px;
	background: #b5121b; color: #fff; font: inherit; font-size: 13px; font-weight: 700;
	line-height: 1.3; text-decoration: none; cursor: pointer;
}
.stql-add-button:hover, .stql-primary:hover { background: #921018; border-color: #921018; color: #fff; }
.stql-view-link { font-size: 12px; color: #9d1018; text-decoration: underline; }
.stql-product-status { max-width: 180px; color: #9d1018; font-size: 12px; overflow-wrap: anywhere; }
.stql-product-status:empty { display: none; }
.stql-toast {
	position: fixed; z-index: 400; top: calc(var(--stpd-header-room, calc(86px + var(--wp-admin--admin-bar--height, 0px))) + 10px);
	right: 20px; width: min(320px, calc(100vw - 24px)); box-sizing: border-box;
	padding: 10px 40px 10px 12px; border: 1px solid #dfcf77; background: #fff3bc;
	color: #27230f; font-size: 13px; line-height: 1.45; box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}
.stql-toast[hidden] { display: none; }
.stql-toast-close {
	position: absolute; top: 4px; right: 4px; display: flex; align-items: center; justify-content: center;
	width: 24px; height: 24px; min-width: 0; min-height: 0; margin: 0; padding: 0;
	border: 0; background: transparent; color: inherit; font-size: 18px; line-height: 1; box-shadow: none; cursor: pointer;
}
.stql-toast-close:hover { background: #eede98; color: #27230f; }
.stql-native-page .page-title { display: none; }
.stql-page { max-width: 1222px; margin: 0 auto; padding: 24px 15px 48px; color: #292929; }
.stql-page h1 { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; }
.stql-page h2 { margin: 0 0 16px; font-size: 22px; }
.stql-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 22px; }
.stql-heading p { max-width: 720px; margin: 0; color: #666; font-size: 14px; }
.stql-secondary {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 9px 14px; min-height: 38px; border: 1px solid #d6d6d6; border-radius: 2px;
	background: #fff; color: #333; font: inherit; font-size: 13px; line-height: 1.3;
	text-decoration: none; cursor: pointer; white-space: nowrap;
}
.stql-secondary:hover { background: #f5f5f5; color: #9d1018; }
.stql-list-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid #e5e5e5; }
.stql-top-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.stql-table-wrap { overflow-x: auto; }
.stql-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 14px; }
.stql-table th, .stql-table td { padding: 16px 12px; vertical-align: middle; text-align: left; border-bottom: 1px solid #e5e5e5; }
.stql-table th { color: #555; font-size: 12px; font-weight: 600; }
.stql-table tbody tr:nth-child(odd) { background: #f8f8f8; }
.stql-table td:nth-child(2) { white-space: nowrap; font-weight: 600; }
.stql-table td:nth-child(3) { min-width: 210px; }
.stql-table a { color: #9d1018; }
.stql-table input[type="checkbox"] { margin: 0; width: 17px; height: 17px; accent-color: #b5121b; }
.stql-table input[type="number"] { width: 92px; min-width: 76px; height: 38px; padding: 6px 9px; background: #fff; border: 1px solid #ccc; }
.stql-remove { padding: 5px 0; background: transparent; border: 0; color: #9d1018; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.stql-list-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 0; }
.stql-list-actions > span:first-child { margin-right: auto; font-size: 13px; }
.stql-save-status { flex-basis: 100%; font-size: 12px; color: #666; }
.stql-save-status:empty { display: none; }
.stql-contact { min-width: 0; margin: 30px 0 0; padding: 24px; border: 1px solid #e0e0e0; scroll-margin-top: 115px; }
.stql-contact legend { width: auto; padding: 0 9px; margin: 0; font-size: 22px; font-weight: 600; }
.stql-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-bottom: 20px; }
.stql-contact label { display: grid; gap: 6px; color: #444; font-size: 13px; font-weight: 600; }
.stql-contact input, .stql-contact textarea, .stql-search input { width: 100%; background: #fff; border: 1px solid #ccc; border-radius: 2px; padding: 10px; font: inherit; font-weight: 400; }
.stql-message { grid-column: 1 / -1; }
.stql-contact textarea { resize: vertical; }
.stql-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.stql-notice { margin: 0 0 18px; padding: 12px 16px; background: #eff7ee; border-left: 3px solid #477546; font-size: 14px; }
.stql-error { background: #fff3f1; border-left-color: #b5121b; }
.stql-empty { padding: 30px 0; border-block: 1px solid #e5e5e5; font-size: 18px; }
.stql-empty p { margin: 0; }
.stql-discover { padding-top: 36px; }
.stql-discover-heading { max-width: 740px; margin: 0 auto 28px; text-align: center; }
.stql-discover-heading h2 { margin-bottom: 10px; font-size: clamp(23px, 2.3vw, 28px); line-height: 1.3; }
.stql-discover-heading p { margin: 0; color: #666; font-size: 14px; line-height: 1.6; }
.stql-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.stql-category-card { display: block; min-width: 0; text-align: center; color: #292929; text-decoration: none; }
.stql-category-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.55; padding: 14px; box-sizing: border-box; background: #f5f5f5; border: 1px solid #ededed; border-radius: 5px; }
.stql-category-media img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.stql-category-card h3 { display: flex; align-items: baseline; justify-content: center; gap: 7px; margin: 16px 0 8px; color: #292929; font-size: 18px; line-height: 1.35; font-weight: 600; }
.stql-category-card h3 span { color: #b5121b; font-size: 24px; line-height: 1; }
.stql-category-card p { margin: 0; color: #666; font-size: 13px; line-height: 1.5; }
.stql-category-card:hover h3, .stql-category-card:focus-visible h3 { color: #b5121b; }
.stql-category-card:hover .stql-category-media { border-color: #cdb2b4; }
.stql-category-card:focus-visible { outline: 2px solid #b5121b; outline-offset: 6px; border-radius: 5px; }
@media(min-width: 768px) and (max-width: 1024px) { .stql-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stql-search { margin-top: 40px; scroll-margin-top: 115px; }
.stql-search-form { display: flex; gap: 12px; max-width: 720px; }
.stql-search-result { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid #e5e5e5; }
.stql-search-add { margin: 0; flex: 0 0 auto; }
.stql-privacy { margin-top: 26px; color: #777; font-size: 12px; }
.stql-page button:disabled, .stql-add-button:disabled { opacity: .6; cursor: wait; }
@media(max-width: 767px) {
	.stql-toast { top: calc(var(--stpd-header-room, calc(60px + var(--wp-admin--admin-bar--height, 0px))) + 8px); right: 12px; }
	.stql-page { padding: 16px 0 30px; }
	.stql-heading { flex-direction: column; gap: 16px; }
	.stql-discover { padding-top: 28px; }
	.stql-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
	.stql-category-media { aspect-ratio: 1; padding: 8px; }
	.stql-category-card h3 { margin-top: 12px; font-size: 15px; }
	.stql-category-card p { font-size: 12px; }
	.stql-list-top { align-items: flex-start; }
	.stql-table th, .stql-table td { padding: 12px 8px; }
	.stql-contact { padding: 16px; }
	.stql-contact-grid { grid-template-columns: 1fr; gap: 14px; }
	.stql-search-form { flex-direction: column; }
	.stql-search-result { flex-wrap: wrap; gap: 12px; }
	.stql-product-action { align-items: flex-start; }
}
