body button.nbw-button:not(.nbw-style-theme),
body button.nbw-save-later {
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0.35rem 0.75rem !important;
	border: 1px solid currentColor !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit;
	font-family: inherit !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	font-style: normal !important;
	letter-spacing: normal !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	text-decoration: none !important;
	cursor: pointer;
	vertical-align: middle;
}

body button.nbw-button.nbw-button--overlay:not(.nbw-style-theme) {
	position: absolute !important;
	z-index: 3;
	top: 0.5rem;
	right: 0.5rem;
	width: 2.75rem !important;
	min-width: 2.75rem !important;
	max-width: 2.75rem !important;
	height: 2.75rem !important;
	min-height: 2.75rem !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
}

body button.nbw-button.nbw-button--overlay:not(.nbw-style-theme):has(.nbw-saves) {
	width: auto !important;
	max-width: none !important;
	padding: 0 0.4rem !important;
}

.nbw-image-wrap {
	position: relative;
}

.nbw-button:not(.nbw-style-theme),
.nbw-save-later,
.nbw-undo,
.nbw-copy-share,
.nbw-page button:not(.nbw-style-theme):not(.nbw-share-link),
.nbw-page input,
.nbw-page textarea,
.nbw-page select {
	font: inherit;
	color: inherit;
}

.nbw-button:not(.nbw-style-theme):not(.nbw-style-text),
.nbw-save-later,
.nbw-undo,
.nbw-copy-share,
.nbw-page button:not(.nbw-style-theme):not(.nbw-share-link) {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.75rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
	line-height: 1.2;
}

.nbw-button:focus-visible,
.nbw-save-later:focus-visible,
.nbw-header:focus-visible,
.nbw-copy-share:focus-visible,
.nbw-page button:focus-visible,
.nbw-page a:focus-visible,
.nbw-page input:focus-visible,
.nbw-page textarea:focus-visible,
.nbw-page select:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

a.nbw-button.nbw-style-text,
a.nbw-style-text {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

a.nbw-button.nbw-style-text.nbw-button--overlay,
button.nbw-button.nbw-style-theme.nbw-button--overlay {
	position: absolute;
	z-index: 3;
	top: 0.5rem;
	right: 0.5rem;
}

.nbw-custom-icon {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
	object-fit: contain;
}

.nbw-icon svg {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linejoin: round;
}

.nbw-header .nbw-icon svg {
	fill: none;
}

.nbw-button.is-saved .nbw-icon svg,
.nbw-button.is-saved .nbw-icon svg path {
	fill: currentColor !important;
	stroke: none !important;
}

.nbw-button.is-just-saved {
	box-shadow: 0 0 0 2px currentColor;
}

.product:has(.nbw-button--overlay),
.wc-block-product:has(.nbw-button--overlay),
.wc-block-grid__product:has(.nbw-button--overlay) {
	position: relative;
}

.nbw-button--overlay {
	position: absolute;
	z-index: 3;
	top: 0.5rem;
	right: 0.5rem;
	background: #fff;
	padding: 0.4rem;
}

.nbw-button--overlay .nbw-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.nbw-saves-num {
	font-size: 0.85em;
	font-variant-numeric: tabular-nums;
}

.wc-block-cart-item__product .nbw-save-later {
	margin-top: 0.4rem;
}

.nbw-header {
	position: fixed;
	z-index: 40;
	top: 0.75rem;
	right: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.35rem 0.6rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: #fff;
	color: inherit;
	text-decoration: none;
}

.nbw-header-count {
	min-width: 1rem;
	text-align: center;
	font-size: 0.85rem;
}

.nbw-save-later {
	margin-top: 0.35rem;
}

.nbw-page,
.nbw-share {
	max-width: 72rem;
	margin: 1.5rem auto;
	padding: 0 1rem 3rem;
}

.nbw-toolbar {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0 0 1.25rem;
}

.nbw-panel {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	padding: 0.7rem 0.8rem;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 0.75rem;
}

.nbw-panel-lists {
	justify-content: space-between;
}

.nbw-panel-label {
	min-width: 4.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #6b7280;
}

.nbw-lists,
.nbw-toolbar-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.nbw-share-bar {
	margin-top: 2rem;
	padding-top: 1.15rem;
	border-top: 1px solid #e4e4e4;
}

.nbw-share-bar .nbw-share-links {
	margin: 0;
}

.nbw-share-bar .nbw-share-url {
	display: flex;
	flex: 1 1 100%;
	gap: 0.5rem;
	align-items: center;
	margin-top: 0.35rem;
}

.nbw-share-bar .nbw-share-url input {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0 !important;
}

.nbw-list-tab.is-active {
	background: #111;
	color: #fff;
}

.nbw-page .nbw-default-mark {
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0.05rem 0.4rem;
	border-radius: 999px;
	background: #1a1a1a !important;
	color: #fff !important;
	font-size: 0.7rem !important;
	font-weight: 700;
	line-height: 1.3;
}

.nbw-page .nbw-list-tab.is-active .nbw-default-mark {
	background: #fff !important;
	color: #1a1a1a !important;
}

.nbw-default-hint {
	font-size: 0.85rem;
	color: #444;
}

.nbw-item,
.nbw-share-item {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: 0.75rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid #ddd;
	list-style: none;
}

.nbw-share-list {
	margin: 0;
	padding: 0;
}

.nbw-item img,
.nbw-share-item img {
	width: 4.5rem;
	height: 4.5rem;
	object-fit: cover;
}

.nbw-meta,
.nbw-flag {
	display: block;
	margin: 0.2rem 0;
	font-size: 0.9rem;
}

.nbw-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
	margin-top: 0.45rem;
}

.nbw-page input[type="number"],
.nbw-page input[type="text"],
.nbw-page textarea,
.nbw-page select {
	padding: 0.3rem 0.45rem;
	border: 1px solid #d0d0d0;
	border-radius: 0.4rem;
	background: #fff;
}

.nbw-live:empty {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nbw-live:not(:empty) {
	position: fixed;
	z-index: 50;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	padding: 0.65rem 0.9rem;
	background: #111;
	color: #fff;
	border-radius: 0.5rem;
}

.nbw-live button {
	margin-left: 0.4rem;
	border-color: #fff;
	color: #fff;
}

.nbw-row.is-deleted {
	opacity: 0.45;
}

.nbw-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0.75rem 1rem;
	align-items: center;
	padding: 0.9rem 0;
	border-bottom: 1px solid #e6e6e6;
}

.nbw-product-cell {
	min-width: 0;
}

.nbw-row-actions {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	align-items: stretch;
}

.nbw-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.75rem;
	align-items: baseline;
	margin-top: 0.2rem;
	color: #444;
	font-size: 0.9rem;
}

.nbw-product {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	min-width: 0;
}

.nbw-product img {
	width: 4.5rem;
	height: 4.5rem;
	object-fit: cover;
	border-radius: 0.4rem;
	flex: 0 0 auto;
}

.nbw-product-name {
	display: inline-block;
	font-weight: 600;
	text-decoration: none;
}

.nbw-variation,
.nbw-flag {
	color: #6b7280;
	font-size: 0.85rem;
}

.nbw-row-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	align-items: center;
	margin-top: 0.45rem;
	font-size: 0.85rem;
}

.nbw-stock,
.nbw-date,
.nbw-price {
	white-space: nowrap;
}

.nbw-row-fields label {
	display: inline-flex !important;
	align-items: center;
	gap: 0.35rem;
}

.nbw-remove-icon {
	width: 1.75rem !important;
	min-width: 1.75rem !important;
	height: 1.75rem !important;
	padding: 0 !important;
	border-radius: 50% !important;
}

.nbw-share-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin: 1rem 0;
}

.nbw-share-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	width: auto;
	margin: 0;
	padding: 0.35rem 0.75rem;
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
}

.nbw-share-facebook { background: #39599e; }
.nbw-share-twitter { background: #45afe2; }
.nbw-share-pinterest { background: #ab2e31; }
.nbw-share-email { background: #fbb102; }
.nbw-share-whatsapp { background: #00a901; }

.nbw-share-icon {
	display: block;
	width: 1rem;
	height: 1rem;
	fill: currentColor;
}

.nbw-share-twitter .nbw-share-icon,
.nbw-share-email .nbw-share-icon {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nbw-share-link .nbw-custom-icon {
	width: 1rem;
	height: 1rem;
}

.nbw-share-url {
	display: flex;
	gap: 0.4rem;
	align-items: center;
}

.nbw-share-url input {
	min-width: 16rem;
}

.nbw-page button:not(.nbw-share-link),
.nbw-page .nbw-style-theme,
.nbw-page input[type="text"],
.nbw-page input[type="number"],
.nbw-page select {
	width: auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	box-shadow: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
}

.nbw-page button:not(.nbw-share-link),
.nbw-page .nbw-style-theme {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0.4rem 0.85rem !important;
	border: 1px solid #d0d0d0 !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #1a1a1a !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	cursor: pointer;
}

.nbw-page .nbw-list-tab.is-active {
	background: #1a1a1a !important;
	border-color: #1a1a1a !important;
	color: #fff !important;
}

.nbw-page a.nbw-style-text,
.nbw-page a.nbw-choose {
	display: inline !important;
	width: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	text-transform: none !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	text-decoration: underline !important;
}

.nbw-page input[type="text"] {
	min-width: 9rem !important;
	padding: 0.4rem 0.65rem !important;
	border: 1px solid #d0d0d0 !important;
	border-radius: 0.4rem !important;
	background: #fff !important;
	font-size: 0.875rem !important;
}

.nbw-page .nbw-qty,
.nbw-page .nbw-note {
	display: inline-block !important;
	padding: 0.25rem 0.4rem !important;
}

.nbw-page .nbw-qty {
	width: 3.5rem !important;
	min-width: 3.5rem !important;
}

.nbw-page .nbw-note {
	width: 9rem !important;
	min-width: 6rem !important;
}

@media (max-width: 640px) {
	.nbw-row {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.nbw-row-actions {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
	}
}

.nbw-empty {
	margin: 1rem 0;
}

.nbw-loading {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 0.75rem;
	color: #6b7280;
	font-size: 0.9rem;
}

.nbw-spinner {
	width: 1rem;
	height: 1rem;
	border: 2px solid #e5e7eb;
	border-top-color: #111;
	border-radius: 50%;
	animation: nbw-spin 0.7s linear infinite;
}

.nbw-skeleton-product {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.nbw-skeleton-copy {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	flex: 1;
}

.nbw-skeleton {
	display: block;
	background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 37%, #f3f4f6 63%);
	background-size: 400% 100%;
	animation: nbw-shimmer 1.2s ease infinite;
	border-radius: 0.4rem;
}

.nbw-skeleton-icon {
	width: 1.5rem;
	height: 1.5rem;
}

.nbw-skeleton-image {
	width: 4.5rem;
	height: 4.5rem;
	flex: 0 0 auto;
}

.nbw-skeleton-line {
	height: 0.85rem;
	width: 12rem;
	max-width: 100%;
}

.nbw-skeleton-short {
	width: 7rem;
}

.nbw-skeleton-button {
	width: 6.5rem;
	height: 2.2rem;
}

@keyframes nbw-spin {
	to { transform: rotate(360deg); }
}

@keyframes nbw-shimmer {
	0% { background-position: 100% 0; }
	100% { background-position: 0 0; }
}

.nbw-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	align-items: center;
	margin: 1rem 0 0;
}

.nbw-pager button {
	min-width: 2.25rem;
	padding: 0.35rem 0.6rem;
	border: 1px solid #e6e6e6;
	border-radius: 0.5rem;
	background: #fff;
	cursor: pointer;
}

.nbw-pager button.is-active {
	font-weight: 700;
	border-color: #111;
}

.nbw-pager button[disabled] {
	opacity: 0.45;
	cursor: default;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
