.abwp-bulk-actions {
	margin: 0 0 14px;
}

.abwp-list-menu__form {
	margin: 0;
}

.abw-lists__menu-panel .abwp-list-menu__status,
.abwp-share__badge {
	background: #e0e7ff;
	border-radius: 4px;
	color: #3730a3;
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	padding: 8px;
}

.abwp-share__badge {
	border-radius: 999px;
	font-size: 12px;
	line-height: 1;
	padding: 7px 10px;
}

.abwp-list-total {
	color: #374151;
	font-size: 14px;
	margin: 7px 0 0;
}

.abwp-list-total span {
	color: #6b7280;
	font-weight: 600;
}

.abwp-share {
	border: 1px solid #dcdcde;
	border-radius: 8px;
	margin: 18px 0 22px;
	overflow: hidden;
}

.abwp-share__summary {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	list-style: none;
	padding: 15px 18px;
}

.abwp-share__summary::-webkit-details-marker {
	display: none;
}

.abwp-share__summary::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: '';
	height: 7px;
	margin: 4px 2px 0 4px;
	transform: rotate(45deg);
	width: 7px;
}

.abwp-share[open] .abwp-share__summary::after {
	transform: rotate(225deg);
}

.abwp-share__summary:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: -2px;
}

.abwp-share__summary-title {
	font-size: 17px;
	font-weight: 600;
}

.abwp-share__summary-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.abwp-share__summary-action {
	color: #4b5563;
	font-size: 13px;
	font-weight: 600;
}

.abwp-share__body {
	border-top: 1px solid #dcdcde;
	padding: 16px 18px 18px;
}

.abwp-share__description {
	color: #6b7280;
	margin: 0;
}

.abwp-share__form {
	display: grid;
	gap: 14px;
	margin-top: 14px;
}

.abwp-share__form fieldset {
	display: grid;
	gap: 8px;
	border: 0;
	margin: 0;
	padding: 0;
}

.abwp-share__choice {
	align-items: flex-start;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	display: flex;
	gap: 10px;
	padding: 10px 12px;
}

.abwp-share__choice input {
	margin-top: 3px;
}

.abwp-share__choice span {
	display: grid;
	gap: 2px;
}

.abwp-share__choice small {
	color: #6b7280;
	font-size: 13px;
}

.abwp-share__expiry {
	display: grid;
	gap: 5px;
	max-width: 220px;
}

.abwp-share__expiry > span {
	font-weight: 600;
}

.abwp-share__expiry select,
.abwp-item-quantity input {
	border: 1px solid #9ca3af;
	border-radius: 6px;
	font: inherit;
	min-height: 38px;
	padding: 6px 8px;
}

.abwp-share__expiry.is-disabled {
	opacity: 0.58;
}

.abwp-share__actions {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.abwp-share__url {
	border: 1px solid #dcdcde;
	border-radius: 6px;
	box-sizing: border-box;
	font: inherit;
	margin-top: 14px;
	max-width: 100%;
	padding: 9px 10px;
	width: 100%;
}

.abwp-bulk-actions__idle,
.abwp-bulk-actions__toolbar,
.abwp-bulk-actions__buttons,
.abwp-transfer-panel__buttons,
.abwp-item-order {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.abwp-item-quantity {
	align-items: center;
	display: inline-flex;
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0;
}

.abwp-item-quantity label {
	align-items: center;
	display: inline-flex;
	gap: 6px;
}

.abwp-item-quantity label > span {
	font-size: 13px;
	font-weight: 700;
}

.abwp-item-quantity input {
	min-height: 38px;
	width: 72px;
}

.abwp-bulk-actions__idle {
	justify-content: flex-end;
}

.abwp-bulk-actions__select-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	font-weight: 600;
}

.abwp-bulk-actions__toolbar {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 12px);
	z-index: 10;
	margin-top: 10px;
	padding: 10px;
	border: 1px solid #dcdcde;
	background: #ffffff;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.abwp-bulk-actions__toolbar[hidden],
.abwp-transfer-panel[hidden] {
	display: none;
}

.abwp-bulk-actions__count {
	margin-right: 4px;
	font-weight: 700;
}

.abwp-transfer-panel {
	display: flex;
	align-items: end;
	flex-basis: 100%;
	flex-wrap: wrap;
	gap: 10px;
	padding: 10px;
	border-top: 1px solid #dcdcde;
}

.abwp-transfer-panel label {
	display: grid;
	gap: 4px;
	min-width: 200px;
}

.abwp-transfer-panel select {
	min-height: 38px;
}

.abw-item.abwp-item--selectable {
	grid-template-columns: 34px 96px minmax(0, 1fr);
}

.abw-item.abwp-item--selectable .abw-item__actions {
	align-items: center;
	grid-column: 2 / -1;
	justify-content: flex-start;
}

.abwp-bulk-select {
	display: inline-flex;
	align-items: center;
	align-self: center;
	justify-content: center;
	width: 34px;
	height: 34px;
}

.abwp-bulk-select input {
	margin: 0;
}

.abwp-item-order {
	display: none;
	margin: 0;
}

.abw-page--account.abwp-is-reordering .abwp-item-order {
	display: flex;
}

.abwp-item-order .abw-icon-button,
.abwp-item-note summary {
	width: 38px;
	height: 38px;
}

.abwp-item-order .abw-icon-button {
	font-size: 22px;
}

.abwp-item-note {
	align-self: center;
	margin-left: 0;
	position: relative;
}

.abwp-item-note[open] {
	flex-basis: 100%;
}

.abwp-item-note summary {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #ffffff;
	cursor: pointer;
	font-size: 18px;
	list-style: none;
}

.abwp-item-note summary::-webkit-details-marker {
	display: none;
}

.abwp-item-note summary:hover,
.abwp-item-note[open] summary {
	border-color: #111827;
}

.abwp-item-note summary:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.abwp-item-note__indicator {
	display: none;
	position: absolute;
	top: 5px;
	right: 5px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #2563eb;
}

.abwp-item-note.has-note .abwp-item-note__indicator {
	display: block;
}

.abwp-item-note__form {
	display: grid;
	gap: 8px;
	width: min(420px, 100%);
	margin-top: 8px;
	padding: 12px;
	border: 1px solid #dcdcde;
	background: #ffffff;
}

.abwp-item-note__form textarea {
	min-height: 76px;
	resize: vertical;
}

@media (max-width: 700px) {
	.abw-item.abwp-item--selectable {
		grid-template-columns: 34px 72px minmax(0, 1fr);
	}

	.abw-item.abwp-item--selectable .abw-item__actions {
		grid-column: 1 / -1;
	}

	.abwp-bulk-actions__idle,
	.abwp-bulk-actions__toolbar,
	.abwp-transfer-panel {
		align-items: stretch;
		flex-direction: column;
	}

	.abwp-item-note {
		flex-basis: auto;
	}

	.abwp-transfer-panel label,
	.abwp-item-note__form,
	.abwp-share__expiry {
		width: 100%;
	}

	.abwp-share__summary {
		align-items: flex-start;
		flex-direction: column;
	}

	.abwp-share__summary-meta {
		width: 100%;
	}
}
.abwp-notification-notice {
	margin: 0 0 18px;
}

.abwp-notification-actions {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	margin: 18px 0 24px;
	overflow: hidden;
}

.abwp-notification-actions[hidden],
.abwp-consent-modal[hidden] {
	display: none;
}

.abwp-notification-actions__summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	list-style: none;
	min-height: 48px;
	padding: 0 14px;
}

.abwp-notification-actions__summary::-webkit-details-marker {
	display: none;
}

.abwp-notification-actions__summary::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: '';
	height: 8px;
	margin-left: 12px;
	transform: rotate(45deg);
	width: 8px;
}

.abwp-notification-actions[open] .abwp-notification-actions__summary::after {
	transform: rotate(225deg);
}

.abwp-notification-actions__summary:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: -2px;
}

.abwp-notification-actions__summary-title {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	font-weight: 700;
	margin-right: auto;
}

.abwp-icon {
	color: currentColor;
	display: inline-block;
	fill: currentColor;
	flex: 0 0 auto;
}

.abwp-notification-actions__summary-icon {
	color: #4b5563;
	height: 33px;
	width: 33px;
}

.abwp-notification-actions__summary-meta {
	align-items: center;
	display: inline-flex;
	margin-left: auto;
}

.abwp-notification-actions__count {
	background: #f3f4f6;
	border-radius: 999px;
	color: #374151;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 7px 10px;
}

.abwp-notification-actions__body {
	border-top: 1px solid #e5e7eb;
	display: grid;
	gap: 0;
	padding: 0;
}

.abwp-notification-actions__paused {
	background: #fff7ed;
	border-bottom: 1px solid #fed7aa;
	color: #9a3412;
	margin: 0;
	padding: 12px 14px;
}

.abwp-notification-actions__row {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 14px;
}

.abwp-notification-actions__row-main {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: 48px minmax(0, 1fr);
	min-width: 0;
}

.abwp-notification-actions__row-icon {
	align-items: center;
	background: #eef2ff;
	border-radius: 8px;
	color: #2563eb;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.abwp-notification-actions__row-svg {
	height: 32px;
	width: 32px;
}

.abwp-notification-actions__row + .abwp-notification-actions__row,
.abwp-notification-actions__email {
	border-top: 1px solid #eef0f2;
}

.abwp-notification-actions__row-text {
	display: grid;
	gap: 3px;
}

.abwp-notification-actions__row-text small,
.abwp-notification-actions__email span,
.abwp-account-notifications small,
.abwp-account-notifications__count,
.abwp-account-notifications__na {
	color: #6b7280;
}

.abwp-notification-actions__note {
	color: #4b5563;
}

.abwp-notification-actions__form,
.abwp-account-notifications__toggle-form {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	margin: 0;
}

.abwp-alert-switch {
	background: #d1d5db;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	cursor: pointer;
	height: 26px;
	padding: 3px;
	position: relative;
	transition: background 160ms ease;
	width: 46px;
}

.abwp-alert-switch::before {
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
	content: '';
	display: block;
	height: 20px;
	transition: transform 160ms ease;
	width: 20px;
}

.abwp-alert-switch.is-active {
	background: #2563eb;
}

.abwp-alert-switch.is-active::before {
	transform: translateX(20px);
}

.abwp-alert-switch:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.abwp-alert-switch:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.abwp-notification-actions__email {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: space-between;
	padding: 12px 14px;
}

.abwp-consent-modal {
	inset: 0;
	position: fixed;
	z-index: 100000;
}

.abwp-consent-modal__overlay {
	background: rgba(15, 23, 42, 0.45);
	inset: 0;
	position: absolute;
}

.abwp-consent-modal__panel {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.26);
	box-sizing: border-box;
	left: 50%;
	max-width: min(520px, calc(100vw - 32px));
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}

.abwp-consent-modal__header,
.abwp-consent-modal__footer {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 18px 20px;
}

.abwp-consent-modal__header h2 {
	font-size: 20px;
	line-height: 1.3;
	margin: 0;
}

.abwp-consent-modal__close {
	background: transparent;
	border: 0;
	cursor: pointer;
	font-size: 28px;
	height: 36px;
	line-height: 1;
	padding: 0;
	width: 36px;
}

.abwp-consent-modal__body {
	border-bottom: 1px solid #e5e7eb;
	border-top: 1px solid #e5e7eb;
	display: grid;
	gap: 14px;
	padding: 18px 20px;
}

.abwp-consent-modal__body p {
	margin: 0;
}

.abwp-consent-modal__email {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	display: grid;
	gap: 4px;
	padding: 10px 12px;
}

.abwp-consent-modal__email span,
.abwp-consent-modal__fineprint {
	color: #6b7280;
	font-size: 13px;
}

.abwp-consent-modal__email a {
	font-size: 13px;
	font-weight: 700;
	justify-self: start;
}

.abwp-consent-modal__consent {
	align-items: flex-start;
	display: flex;
	gap: 9px;
}

.abwp-consent-modal__consent input {
	margin-top: 4px;
}

.abwp-consent-modal__footer {
	justify-content: flex-start;
}

.abwp-account-notifications {
	border: 1px solid #dcdcde;
	border-radius: 8px;
	margin: 0 0 24px;
	padding: 18px;
}

.abw-account-tabs__panel > .abwp-account-notifications {
	border: 0;
	margin: 0;
	padding: 0;
}

.abwp-account-notifications__header {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.abwp-account-notifications h3,
.abwp-account-notifications h4,
.abwp-account-notifications p {
	margin: 0;
}

.abwp-account-notifications__header p {
	color: #4b5563;
	margin-top: 5px;
}

.abwp-account-notifications__summary {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 0 18px;
}

.abwp-account-notifications__metric {
	align-items: center;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	display: flex;
	gap: 12px;
	padding: 14px;
}

.abwp-account-notifications__metric strong {
	align-items: center;
	background: #eef2ff;
	border-radius: 50%;
	color: #1d4ed8;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	min-width: 42px;
}

.abwp-account-notifications__paused {
	background: #ecfdf5;
	border: 1px solid #bbf7d0;
	border-radius: 6px;
	color: #166534;
	display: grid;
	gap: 3px;
	margin-bottom: 16px;
	padding: 12px 14px;
}

.abwp-account-notifications__table-wrap {
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	overflow: hidden;
}

.abwp-account-notifications__table {
	border-collapse: collapse;
	font-size: 14px;
	table-layout: fixed;
	width: 100%;
}

.abwp-account-notifications__table th,
.abwp-account-notifications__table td {
	border-bottom: 1px solid #e5e7eb;
	padding: 13px 12px;
	text-align: left;
	vertical-align: middle;
	word-break: normal;
	overflow-wrap: normal;
}

.abwp-account-notifications__table th {
	background: #f9fafb;
	color: #111827;
	font-weight: 700;
}

.abwp-account-notifications__table tr:last-child td {
	border-bottom: 0;
}

.abwp-account-notifications__table th:nth-child(1) { width: 42%; }
.abwp-account-notifications__table th:nth-child(2) { width: 13%; }
.abwp-account-notifications__table th:nth-child(3) { width: 17%; }
.abwp-account-notifications__table th:nth-child(4),
.abwp-account-notifications__table th:nth-child(5) { width: 14%; }

.abwp-account-notifications__table a {
	font-weight: 700;
}

.abwp-account-notifications__product {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 52px minmax(0, 1fr);
}

.abwp-account-notifications__product > span {
	min-width: 0;
}

.abwp-account-notifications__product a {
	overflow-wrap: normal;
	word-break: normal;
}

.abwp-account-notifications__product-image {
	aspect-ratio: 1;
	background: #f3f4f6;
	border-radius: 6px;
	display: block;
	overflow: hidden;
}

.abwp-account-notifications__product-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.abwp-account-notifications__table small,
.abwp-account-notifications__settings small {
	display: block;
	margin-top: 4px;
}

.abwp-account-notifications .is-in-stock {
	color: #15803d;
}

.abwp-account-notifications .is-out-of-stock {
	color: #b91c1c;
}

.abwp-account-notifications__count {
	margin: 10px 0 18px;
}

.abwp-account-notifications__settings {
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	display: grid;
	gap: 10px;
	margin-top: 20px;
	padding: 14px;
}

.abwp-account-notifications__settings p {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

@media (max-width: 900px) {
	.abwp-account-notifications__header,
	.abwp-account-notifications__settings p {
		align-items: stretch;
		flex-direction: column;
	}

	.abwp-account-notifications__summary {
		grid-template-columns: 1fr;
	}

	.abwp-account-notifications__table thead {
		display: none;
	}

	.abwp-account-notifications__table,
	.abwp-account-notifications__table tbody,
	.abwp-account-notifications__table tr,
	.abwp-account-notifications__table td {
		display: block;
		width: 100%;
	}

	.abwp-account-notifications__table tr {
		border-bottom: 1px solid #e5e7eb;
		padding: 10px 12px;
	}

	.abwp-account-notifications__table tr:last-child {
		border-bottom: 0;
	}

	.abwp-account-notifications__table td {
		align-items: center;
		border-bottom: 0;
		display: flex;
		gap: 12px;
		justify-content: space-between;
		padding: 7px 0;
	}

	.abwp-account-notifications__table td::before {
		color: #6b7280;
		content: attr(data-label);
		font-weight: 700;
		margin-right: 12px;
	}
}

@media (max-width: 600px) {
	.abwp-notification-actions__row,
	.abwp-notification-actions__email {
		align-items: flex-start;
		grid-template-columns: 1fr;
	}

	.abwp-consent-modal__footer {
		align-items: stretch;
		flex-direction: column;
	}
}
