/* Shortlist inside the native page shell. */
.psk-observed-link { margin: 0; }
.psk-header-tools .psk-observed-link a { --psk-icon: url("../images/icons/heart.svg"); position: relative; }
.psk-product-action.psk-product-action--observe[aria-pressed="true"] { color: var(--wp--preset--color--text); }
.psk-product-action--observe[aria-pressed="true"]::before { background: var(--wp--preset--color--action-danger); mask-image: url("../images/icons/heart-filled.svg"); }
.psk-observed-link a:has(.psk-observed-count:not([hidden]))::before { background: var(--wp--preset--color--text); mask-image: url("../images/icons/heart.svg"); }
.psk-observed-count { background: var(--wp--preset--color--action-danger); border-radius: 50%; box-sizing: border-box; color: #fff; display: inline-grid; font-size: 10px; font-variant-numeric: tabular-nums; font-weight: 600; height: 20px; line-height: 1; min-width: 20px; padding: 0; place-items: center; text-align: center; width: 20px; }
.psk-observed [hidden],
.psk-saved-notice[hidden],
.psk-saved-notice [hidden],
.psk-observed-count[hidden],
.psk-observe-product[hidden] { display: none; }
.psk-observed__intro { font-size: 1.125rem; margin-top: 0; }
.psk-observed__privacy,
.psk-observed__stock { color: var(--wp--preset--color--text-muted); font-size: 0.875rem; }
.psk-observed__toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-block: 32px 12px; }
.psk-observed__toolbar a { align-items: center; display: inline-flex; gap: 8px; min-height: 44px; }
.psk-observed__count { font-weight: 600; }
.psk-observed__list { list-style: none; margin: 0; padding: 0; }
.psk-observed__item { align-items: center; border-top: 1px solid var(--wp--preset--color--border); display: grid; gap: 24px; grid-template-columns: 120px minmax(0, 1fr) minmax(160px, 220px) auto; padding-block: 24px; }
.psk-observed__image { height: 120px; object-fit: contain; width: 120px; }
.psk-observed__detail { grid-column: 2; }
.psk-observed__name { font-size: 1.125rem; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.psk-observed__name a { color: inherit; text-decoration: none; }
.psk-observed__name a:hover { text-decoration: underline; }
.psk-observed__stock { margin: 8px 0 0; }
.psk-observed__stock.is-available { color: #2f7d32; }
.psk-observed__actions { display: grid; gap: 12px; }
.psk-observed__price { font-size: 1rem; font-weight: 600; margin: 0; }
.psk-observed__price del { color: var(--wp--preset--color--text-muted); display: block; font-size: 0.875rem; font-weight: 400; }
.psk-observed__price ins { text-decoration: none; }
.psk-observed__cta { align-items: center; background: #f1f7f1; border: 1px solid #2f7d32; border-radius: 8px; box-sizing: border-box; color: #286b2b; display: inline-flex; font-size: 0.875rem; font-weight: 600; justify-content: center; min-height: 44px; padding: 10px 20px; text-decoration: none; }
.psk-observed__cta:hover { background: #e2efe2; }
.psk-observed__remove,
.psk-observed__retry,
.psk-saved-notice button { background: transparent; border: 0; color: inherit; cursor: pointer; font: inherit; font-size: 0.875rem; min-height: 44px; padding: 8px; text-decoration: underline; text-underline-offset: 3px; }
.psk-observed__empty { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: 12px; padding: clamp(24px, 5vw, 64px) 24px; text-align: center; }
.psk-observed__empty::before { background: #2f7d32; content: ""; display: block; height: 40px; margin: 0 auto 20px; mask: url("../images/icons/heart.svg") center / contain no-repeat; width: 40px; }
.psk-observed__empty h2 { font-size: 1.5rem; }
.psk-observed__empty .psk-observed__cta { margin-top: 12px; }
.psk-observed__error { background: #fff5e5; padding: 16px; }
.psk-observed__error p { margin: 0; }
.psk-saved-notice { align-items: center; background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: 12px; bottom: 20px; box-shadow: 0 8px 32px rgb(0 0 0 / 12%); box-sizing: border-box; color: var(--wp--preset--color--text); display: flex; flex-wrap: wrap; font-size: 0.875rem; gap: 4px 12px; max-width: min(560px, calc(100vw - 32px)); padding: 12px 16px; position: fixed; right: 16px; z-index: 100; }
.psk-saved-notice > span { flex: 1 1 280px; overflow-wrap: anywhere; }
.psk-saved-notice .psk-saved-notice__undo { font-weight: 700; }
.psk-observed :focus-visible,
.psk-saved-notice :focus-visible,
.psk-product-action:focus-visible,
.psk-observed-link a:focus-visible { outline: 2px solid currentcolor; outline-offset: 4px; }
@media (min-width: 1200px) {
	.psk-header-tools:has(.psk-observed-link) { max-width: 560px; }
	.psk-header-tools .psk-account-link a { white-space: nowrap; }
}
@media (max-width: 1199px) {
	.psk-header-tools .psk-observed-link a > span:first-child { display: none; }
	.psk-observed-count { position: absolute; right: -3px; top: -3px; }
}
@media (max-width: 700px) {
	.psk-observed__item { gap: 12px 16px; grid-template-columns: 80px minmax(0, 1fr); }
	.psk-observed__image { height: 80px; width: 80px; }
	.psk-observed__name { font-size: 1rem; }
	.psk-observed__actions { grid-column: 2; grid-row: 2; }
	.psk-observed__remove { grid-column: 1; grid-row: 2; }
}
@media (max-width: 420px) {
	.psk-header-main:has(.psk-observed-link) { row-gap: 8px; }
	.psk-header-main:has(.psk-observed-link) .psk-header-utilities { grid-column: 1 / -1; grid-row: 2; width: 100%; }
	.psk-header-tools:has(.psk-observed-link) { margin: 0; }
}
.psk-catalogue-dialog__title { margin-right: 5.5rem; }
.psk-comparison-scroll { max-width: 100%; overflow-x: auto; }
.psk-comparison-scroll:focus-visible { outline: 2px solid var(--wp--preset--color--text); outline-offset: 2px; }
.psk-comparison-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.psk-comparison-table th,
.psk-comparison-table td { min-width: 180px; padding: 14px; border-bottom: 1px solid var(--wp--preset--color--border); text-align: left; vertical-align: top; }
.psk-comparison-table tbody th { background: var(--wp--preset--color--surface-soft); font-weight: 500; }
.psk-comparison-table thead a { display: block; color: inherit; text-decoration: none; }
.psk-comparison-table img { display: block; object-fit: contain; margin-bottom: 12px; }
.psk-comparison-table .psk-catalogue-dialog__remove { display: block; min-height: 44px; margin-top: 8px; }
