:root {
	--abw-accent: #111827;
	--abw-accent-strong: #0f172a;
	--abw-surface: #ffffff;
	--abw-subtle-surface: #f9fafb;
	--abw-border: #d1d5db;
	--abw-focus: #2563eb;
	--abw-muted: #6b7280;
}

.abw-save-button--appearance-artbees,
.abw-button {
	align-items: center;
	border: 1px solid var(--abw-accent);
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 600;
	gap: 8px;
	justify-content: center;
	line-height: 1.2;
	min-height: 44px;
	padding: 10px 16px;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.abw-save-button--appearance-artbees {
	background: var(--abw-surface);
	color: var(--abw-accent);
	margin-left: 6px;
}

.abw-save-button--appearance-theme {
	margin-left: 6px;
}

.abw-save-button--appearance-theme .abw-save-button__icon {
	margin-right: 6px;
}

.abw-wishlist-trigger {
	align-items: center;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 600;
	gap: 7px;
	line-height: 1.2;
	min-height: 44px;
	padding: 8px;
	text-decoration: none;
}

.abw-wishlist-trigger__icon {
	font-size: 22px;
	line-height: 1;
}

.abw-wishlist-trigger__count {
	align-items: center;
	background: #111827;
	border-radius: 999px;
	color: #ffffff;
	display: inline-flex;
	font-size: 12px;
	justify-content: center;
	line-height: 1;
	min-width: 20px;
	padding: 4px 6px;
}

.abw-wishlist-trigger:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.abw-block-preview {
	display: inline-block;
}

.abw-block-preview .abw-save-button,
.abw-block-preview .abw-wishlist-trigger {
	margin-left: 0;
}

.abw-block-preview--page {
	border: 1px dashed #9ca3af;
	padding: 18px;
}

.abw-elementor-placeholder {
	border: 1px dashed #9ca3af;
	color: #4b5563;
	padding: 12px;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .abw-save-button--loop {
	margin-top: 8px;
	vertical-align: middle;
}

.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .abw-save-button--loop {
	margin-left: 8px;
}

.woocommerce ul.products li.product .added_to_cart {
	align-items: center;
	display: inline-flex;
	min-height: 44px;
}

.abw-save-button--appearance-artbees:hover,
.abw-button:hover {
	border-color: var(--abw-accent-strong);
}

.abw-save-button:focus-visible,
.abw-button:focus-visible,
.abw-icon-button:focus-visible {
	outline: 2px solid var(--abw-focus);
	outline-offset: 2px;
}

.abw-save-button--appearance-artbees.is-saved,
.abw-button--primary {
	background: var(--abw-accent);
	color: var(--abw-surface);
}

.abw-save-button.is-loading,
.abw-button.is-loading,
.abw-button:disabled {
	cursor: wait;
	opacity: 0.65;
}

.abw-save-button-message {
	color: #b45309;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	margin-top: 8px;
}

.abw-save-button-message[hidden] {
	display: none;
}

.abw-button--ghost {
	background: var(--abw-surface);
	border-color: var(--abw-border);
	color: var(--abw-accent);
}

.abw-icon-button {
	align-items: center;
	background: #ffffff;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	color: #111827;
	cursor: pointer;
	display: inline-flex;
	font-size: 26px;
	height: 42px;
	justify-content: center;
	line-height: 1;
	width: 42px;
}

.abw-drawer[hidden] {
	display: none;
}

html.abw-drawer-open {
	overflow: hidden;
}

html.abw-list-picker-open {
	overflow: hidden;
}

.abw-drawer {
	inset: 0;
	position: fixed;
	z-index: 999999;
}

.abw-drawer__overlay {
	background: rgba(17, 24, 39, 0.48);
	inset: 0;
	position: fixed;
}

.abw-drawer__panel {
	background: #ffffff;
	box-shadow: -18px 0 48px rgba(15, 23, 42, 0.18);
	display: flex;
	flex-direction: column;
	height: 100vh;
	max-width: min(480px, 100vw);
	position: fixed;
	right: 0;
	top: 0;
	width: 440px;
}

.abw-list-picker[hidden] {
	display: none;
}

.abw-list-picker {
	inset: 0;
	position: fixed;
	z-index: 1000001;
}

.abw-list-picker__overlay {
	background: rgba(17, 24, 39, 0.48);
	inset: 0;
	position: fixed;
}

.abw-list-picker__panel {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
	left: 50%;
	max-width: calc(100vw - 32px);
	position: fixed;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 420px;
}

.abw-list-picker__header,
.abw-list-picker__footer {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 18px 20px;
}

.abw-list-picker__header {
	border-bottom: 1px solid #e5e7eb;
}

.abw-list-picker__header h2 {
	font-size: 20px;
	line-height: 1.3;
	margin: 0;
}

.abw-list-picker__content {
	display: grid;
	gap: 8px;
	padding: 20px;
}

.abw-list-picker__content label {
	font-weight: 600;
}

.abw-list-picker__content select {
	border: 1px solid #9ca3af;
	border-radius: 6px;
	font: inherit;
	min-height: 44px;
	padding: 8px 10px;
}

.abw-list-picker__state {
	color: #166534;
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}

.abw-list-picker [hidden] {
	display: none;
}

.abw-list-picker__footer {
	border-top: 1px solid #e5e7eb;
	justify-content: flex-end;
}

.abw-drawer__header,
.abw-drawer__footer {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 24px;
}

.abw-drawer__header {
	border-bottom: 1px solid #e5e7eb;
}

.abw-drawer__header h2,
.abw-page__header h1,
.abw-page__header h2 {
	font-size: 28px;
	line-height: 1.2;
	margin: 0;
}

.abw-drawer__header p,
.abw-page__header p,
.abw-page__note,
.abw-share p {
	color: #6b7280;
	margin: 4px 0 0;
}

.abw-drawer__items {
	display: grid;
	gap: 14px;
	overflow: auto;
	padding: 20px 24px;
}

.abw-drawer__footer {
	border-top: 1px solid #e5e7eb;
	margin-top: auto;
}

.abw-drawer__footer .abw-button {
	width: 100%;
}

.abw-drawer__notice,
.abw-page__notice {
	align-items: center;
	background: #ecfdf5;
	border: 1px solid #bbf7d0;
	border-radius: 6px;
	color: #166534;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 24px 0;
	padding: 10px 12px;
}

.abw-page__notice {
	margin: 16px 0;
}

.abw-drawer__notice.is-error,
.abw-page__notice.is-error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
}

.abw-notice__action {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.abw-toast {
	align-items: center;
	background: #111827;
	border-radius: 8px;
	bottom: 24px;
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22);
	color: #ffffff;
	display: flex;
	flex-wrap: wrap;
	font-weight: 600;
	gap: 10px;
	justify-content: center;
	left: 50%;
	max-width: min(420px, calc(100vw - 32px));
	padding: 12px 16px;
	position: fixed;
	text-align: center;
	transform: translateX(-50%);
	z-index: 1000000;
}

.abw-toast[hidden] {
	display: none;
}

.abw-toast.is-error {
	background: #991b1b;
}

.abw-drawer-item,
.abw-item {
	align-items: center;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	display: grid;
	gap: 14px;
	grid-template-columns: 76px minmax(0, 1fr);
	padding: 12px;
}

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

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

.abw-item__select {
	align-items: center;
	display: flex;
	grid-column: 1;
	grid-row: 1;
	justify-content: center;
}

.abw-item__select input {
	accent-color: var(--abw-accent);
	height: 18px;
	margin: 0;
	width: 18px;
}

.abw-drawer-item__image,
.abw-item__image {
	aspect-ratio: 1;
	background: #f3f4f6;
	border-radius: 6px;
	display: block;
	overflow: hidden;
}

.abw-drawer-item__image img,
.abw-item__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.abw-drawer-item h3,
.abw-item h3 {
	font-size: 16px;
	line-height: 1.3;
	margin: 0 0 6px;
}

.abw-drawer-item h3 a,
.abw-item h3 a {
	color: inherit;
	text-decoration: none;
}

.abw-drawer-item ul,
.abw-item__meta {
	color: #6b7280;
	font-size: 13px;
	list-style: none;
	margin: 0 0 6px;
	padding: 0;
}

.abw-drawer-item__price,
.abw-item__price {
	color: #374151;
	font-weight: 600;
}

.abw-drawer-item__actions,
.abw-item__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.abw-item__actions {
	justify-content: flex-end;
	margin-top: 0;
}

.abw-item__move {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	grid-column: 3 / -1;
	justify-content: flex-end;
}

.abw-item__move select {
	border: 1px solid var(--abw-border);
	border-radius: 6px;
	font: inherit;
	min-height: 40px;
	padding: 7px 9px;
}

.abw-page {
	margin: 0 auto;
	max-width: 980px;
	padding: 24px 0;
}

.abw-page__header,
.abw-share {
	align-items: flex-start;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 22px;
}

.abw-page__list-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
}

.abw-page__list-tab {
	border: 1px solid #d1d5db;
	border-radius: 6px;
	color: #111827;
	display: inline-flex;
	font-weight: 600;
	min-height: 40px;
	padding: 8px 10px;
	text-decoration: none;
}

.abw-page__list-tab:hover {
	border-color: #111827;
}

.abw-page__list-tab:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.abw-page__list-tab.is-active {
	background: #111827;
	border-color: #111827;
	color: #ffffff;
}

.abw-account-tabs-shell {
	margin: 0 0 24px;
}

.abw-account-tabs {
	align-items: flex-end;
	border-bottom: 1px solid #d1d5db;
	display: flex;
	flex-wrap: wrap;
	margin: 0;
}

.abw-account-tabs__tab {
	background: #f9fafb;
	border: 1px solid #d1d5db;
	color: #111827;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 -1px -1px 0;
	min-height: 42px;
	padding: 12px 18px;
	position: relative;
	text-decoration: none;
}

.abw-account-tabs__tab:hover {
	background: #ffffff;
	color: #111827;
}

.abw-account-tabs__tab:focus-visible {
	outline: 2px solid var(--abw-focus);
	outline-offset: -2px;
}

.abw-account-tabs__tab.is-active {
	background: #ffffff;
	border-bottom-color: #ffffff;
	border-top-color: var(--abw-accent);
	box-shadow: inset 0 3px 0 var(--abw-accent);
	color: var(--abw-accent);
	z-index: 1;
}

.abw-account-tabs__panel {
	background: #ffffff;
	border: 1px solid #d1d5db;
	border-radius: 0 0 8px 8px;
	border-top: 0;
	padding: 16px;
}

.abw-page__items {
	display: grid;
	gap: 14px;
}

.abw-bulk-cart {
	align-items: center;
	background: var(--abw-subtle-surface);
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin: 0 0 16px;
	padding: 12px 14px;
}

.abw-bulk-cart__count {
	color: var(--abw-muted);
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}

.abw-bulk-cart__actions,
.abw-pagination {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.abw-pagination {
	justify-content: space-between;
	margin-top: 20px;
}

.abw-empty {
	align-items: center;
	border: 1px dashed #d1d5db;
	border-radius: 8px;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 22px;
}

.abw-empty p {
	margin: 0;
}

.abw-share {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 16px;
}

.abw-share h3 {
	font-size: 18px;
	margin: 0;
}

.abw-share__controls {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.abw-share input {
	border: 1px solid #d1d5db;
	border-radius: 6px;
	min-height: 42px;
	min-width: min(360px, 100%);
	padding: 8px 10px;
}

.abw-lists {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin: 0 0 22px;
	padding: 16px;
}

.abw-lists__header {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	justify-content: space-between;
}

.abw-lists__header h2,
.abw-lists__header p,
.abw-lists__limit {
	margin: 0;
}

.abw-lists__header h2 {
	font-size: 20px;
	line-height: 1.3;
}

.abw-lists__header p,
.abw-lists__limit {
	color: #6b7280;
}

.abw-lists__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
}

.abw-lists__tab,
.abw-lists__add {
	align-items: center;
	background: #ffffff;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	color: #111827;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 600;
	justify-content: center;
	line-height: 1.2;
	min-height: 40px;
	padding: 8px 10px;
	text-decoration: none;
}

.abw-lists__delete-form {
	margin: 0;
}

.abw-lists__tab:hover,
.abw-lists__add:hover {
	border-color: #111827;
}

.abw-lists__tab:focus-visible,
.abw-lists__add:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.abw-lists__tab.is-active {
	background: #111827;
	border-color: #111827;
	color: #ffffff;
}

.abw-lists__tab--active {
	gap: 4px;
	padding-right: 6px;
}

.abw-lists__tab--default {
	gap: 6px;
}

.abw-lists__default-label {
	background: #e0e7ff;
	border-radius: 999px;
	color: #3730a3;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 4px 6px;
}

.abw-lists__tab.is-active .abw-lists__default-label {
	background: rgba( 255, 255, 255, 0.2 );
	color: #ffffff;
}

.abw-lists__menu {
	position: relative;
}

.abw-lists__menu summary {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 4px;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	height: 28px;
	justify-content: center;
	padding: 0;
	list-style: none;
	width: 28px;
}

.abw-lists__menu summary::-webkit-details-marker {
	display: none;
}

.abw-lists__menu summary:hover,
.abw-lists__menu[open] summary {
	background: rgba(255, 255, 255, 0.16);
}

.abw-lists__menu summary:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 1px;
}

.abw-lists__menu-panel {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 10;
	min-width: 132px;
	padding: 4px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.abw-lists__menu-panel button {
	width: 100%;
	min-height: 34px;
	padding: 6px 8px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #111827;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	text-align: left;
}

.abw-lists__menu-panel button:hover,
.abw-lists__menu-panel button:focus-visible {
	background: #f3f4f6;
}

.abw-lists__menu-panel .abw-lists__menu-delete {
	color: #b91c1c;
}

.abw-lists__add {
	font-size: 24px;
	line-height: 1;
	padding: 6px;
	width: 40px;
}

.abw-lists__inline-form {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.abw-lists__inline-form[hidden] {
	display: none;
}

.abw-lists input {
	border: 1px solid #9ca3af;
	border-radius: 6px;
	font: inherit;
	min-height: 44px;
	padding: 8px 10px;
	width: min(240px, 100%);
}

.abw-lists__limit {
	font-size: 14px;
	margin-top: 12px;
}

.abw-drawer__empty {
	color: #6b7280;
	padding: 24px 0;
	text-align: center;
}

@media (max-width: 700px) {
	.abw-save-button--appearance-artbees {
		margin-left: 0;
		margin-top: 8px;
		width: 100%;
	}

	.abw-save-button--appearance-theme {
		margin-left: 0;
		margin-top: 8px;
	}

	.woocommerce ul.products li.product .added_to_cart,
	.woocommerce ul.products li.product .abw-save-button--loop.abw-save-button--appearance-artbees {
		margin-left: 0;
		width: 100%;
	}

	.abw-drawer__panel {
		width: 100vw;
	}

	.abw-list-picker__panel {
		width: calc(100vw - 32px);
	}

	.abw-item,
	.abw-page__header,
	.abw-share,
	.abw-empty {
		align-items: stretch;
		grid-template-columns: 72px minmax(0, 1fr);
	}

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

	.abw-item--selectable .abw-item__image {
		grid-column: 2;
	}

	.abw-item--selectable .abw-item__body {
		grid-column: 3;
	}

	.abw-item__actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}

	.abw-item__move {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}

	.abw-page__header,
	.abw-share,
	.abw-empty {
		display: flex;
		flex-direction: column;
	}

	.abw-share__controls,
	.abw-share input,
	.abw-share .abw-button,
	.abw-empty .abw-button,
	.abw-bulk-cart .abw-button {
		width: 100%;
	}

	.abw-bulk-cart__actions {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.abw-lists__inline-form {
		align-items: stretch;
		flex-direction: column;
	}

	.abw-lists input,
	.abw-lists .abw-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.abw-save-button,
	.abw-button {
		transition: none;
	}
}
