/* Organela global header — clean, subtle */

.op-header {
	--op-h-green: var(--op-green, rgb(61, 140, 53));
	--op-h-orange: var(--op-orange, #FA6619);
	--op-h-ink: #111111;
	--op-h-muted: #5c6b58;
	--op-h-line: rgba(0, 0, 0, 0.08);
	--op-h-soft: #f7faf6;

	position: sticky;
	top: 0;
	z-index: 1000;
	background: #ffffff;
	border-bottom: 1px solid var(--op-h-line);
	font-family: 'Raleway', sans-serif;
	color: #111111;
}

.op-header a,
.op-header button,
.op-header .op-header__action,
.op-header .op-header__action-label,
.op-header .op-header__guest-link,
.op-header .op-header__guest-sep,
.op-header .op-header__search-input,
.op-header .op-header__search-icon,
.op-header .op-header__search-submit {
	color: #111111;
}

.op-header svg {
	color: #111111;
	fill: none !important;
	stroke: currentColor;
}

.op-header .op-header__points {
	color: var(--op-h-orange, #FA6619) !important;
}

.op-header .op-header__badge {
	color: #fff !important;
}

.op-header__action svg,
.op-header__search-icon,
.op-header__dropdown-icon svg {
	fill: none !important;
	stroke: currentColor;
}

.op-header__inner {
	width: min(100%, var(--organela-content-width, 1200px));
	margin: 0 auto;
	padding: 8px clamp(14px, 2.5vw, 20px);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px 20px;
}

.op-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
	text-decoration: none;
}

.op-header__logo img {
	display: block;
	height: 32px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
}

/* Search — compact & subtle */
.op-header__search {
	position: relative;
	width: 100%;
	max-width: 480px;
	justify-self: center;
	margin: 0;
}

.op-header__search-field {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 4px 0 12px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 999px;
	background: #f6f7f6;
	box-shadow: none;
	outline: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.op-header__search-field:focus-within {
	border-color: rgba(0, 0, 0, 0.12);
	background: #fff;
	box-shadow: none;
}

.op-header__search-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	color: #9aa39a;
	pointer-events: none;
}

.op-header__search-input {
	flex: 1;
	min-width: 0;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	color: #111111;
	padding: 0;
	height: 100%;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

.op-header__search-input:focus,
.op-header__search-input:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	border: 0 !important;
}

.op-header__search-input::placeholder {
	color: #a3ada3;
	font-weight: 400;
}

.op-header__search-input::-webkit-search-decoration,
.op-header__search-input::-webkit-search-cancel-button,
.op-header__search-input::-webkit-search-results-button,
.op-header__search-input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.op-header__search-submit {
	appearance: none;
	border: 0;
	background: transparent;
	color: #6b756b;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	padding: 0 12px;
	height: 28px;
	border-radius: 999px;
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease;
}

.op-header__search-submit:hover {
	color: #111;
	background: rgba(0, 0, 0, 0.04);
}

.op-header__search-submit:focus {
	outline: none;
}

.op-header__search-field:focus-within .op-header__search-submit {
	color: var(--op-h-green);
}

/* Suggestions */
.op-header__suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	background: #fff;
	border: 1px solid var(--op-h-line);
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(26, 36, 24, 0.1);
	padding: 8px;
	z-index: 2147483000;
	max-height: min(70vh, 420px);
	overflow: auto;
}

.op-header__suggest-cat {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 10px 12px;
	margin-bottom: 4px;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	background: var(--op-h-soft, #eef3ec);
	transition: background 0.12s ease;
}

.op-header__suggest-cat:hover,
.op-header__suggest-cat.is-active {
	background: rgba(61, 140, 53, 0.14);
}

.op-header__suggest-cat-label {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--op-h-muted, #6b7a68);
}

.op-header__suggest-cat-name {
	flex: 1 1 auto;
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--op-h-ink, #1a2418);
}

.op-header__suggest-cat-count {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--op-h-muted, #6b7a68);
}

.op-header__suggest[hidden] {
	display: none !important;
}

.op-header__suggest-item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 8px 10px;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: background 0.12s ease;
}

.op-header__suggest-item:hover,
.op-header__suggest-item.is-active {
	background: var(--op-h-soft);
}

.op-header__suggest-thumb {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	object-fit: cover;
	background: #eef3ec;
}

.op-header__suggest-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

.op-header__suggest-title {
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--op-h-ink);
}

.op-header__suggest-tag {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.06);
	color: var(--op-h-muted);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.op-header__suggest-sep {
	margin: 6px 4px 4px;
	padding: 8px 8px 4px;
	border-top: 1px solid var(--op-h-line, #e2e8e0);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--op-h-muted, #6b7a68);
}

.op-header__suggest-item.is-unavailable {
	opacity: 0.62;
}

.op-header__suggest-item.is-unavailable .op-header__suggest-thumb {
	filter: grayscale(1);
	opacity: 0.85;
}

.op-header__suggest-item.is-unavailable .op-header__suggest-title,
.op-header__suggest-item.is-unavailable .op-header__suggest-price,
.op-header__suggest-item.is-unavailable .op-header__suggest-price .woocommerce-Price-amount {
	color: var(--op-h-muted) !important;
}

.op-header__suggest-item.is-unavailable:hover,
.op-header__suggest-item.is-unavailable.is-active {
	background: rgba(0, 0, 0, 0.04);
}

.op-header__suggest-price {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--op-h-green);
	white-space: nowrap;
}

.op-header__suggest-price .amount,
.op-header__suggest-price .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.op-header__suggest-empty,
.op-header__suggest-status {
	padding: 14px 12px;
	font-size: 0.9rem;
	color: var(--op-h-muted);
	text-align: center;
}

.op-header__suggest-status {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	min-height: 1.4em;
	animation: op-suggest-pulse 1.15s ease-in-out infinite;
}

.op-header__suggest-status-dots {
	display: inline-block;
	min-width: 1.15em;
	text-align: left;
}

.op-header__suggest-status-dots::after {
	content: '';
	animation: op-suggest-dots 1.15s steps(4, end) infinite;
}

@keyframes op-suggest-pulse {
	0%, 100% { opacity: 0.45; }
	50% { opacity: 1; }
}

@keyframes op-suggest-dots {
	0% { content: ''; }
	25% { content: '.'; }
	50% { content: '..'; }
	75%, 100% { content: '...'; }
}

@media (prefers-reduced-motion: reduce) {
	.op-header__suggest-status {
		animation: none;
		opacity: 1;
	}

	.op-header__suggest-status-dots::after {
		animation: none;
		content: '…';
	}
}

.op-header__suggest-all {
	display: block;
	margin-top: 4px;
	padding: 10px 12px;
	text-align: center;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--op-h-green);
	text-decoration: none;
	border-radius: 10px;
}

.op-header__suggest-all:hover {
	background: var(--op-h-soft);
}

/* Actions — black text/icons */
.op-header__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.op-header__action {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 8px;
	border-radius: 999px;
	color: var(--op-h-ink);
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 600;
	transition: background 0.15s ease;
}

.op-header__action:hover,
.op-header__action:focus {
	background: var(--op-h-soft);
	color: var(--op-h-ink);
	outline: none;
}

.op-header__action--cart {
	padding: 8px;
	border: 0;
	background: transparent;
	cursor: pointer;
	font: inherit;
	appearance: none;
	-webkit-appearance: none;
}

.op-header__action svg {
	flex-shrink: 0;
	color: var(--op-h-ink);
}

.op-header__action-label {
	color: var(--op-h-ink);
	white-space: nowrap;
	max-width: 10em;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Account block + avatar */
.op-header__account {
	position: relative;
}

.op-header__avatar {
	display: flex;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
}

.op-header__avatar .op-avatar,
.op-header__avatar-el {
	width: 28px !important;
	height: 28px !important;
}

.op-header__avatar-fallback {
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e8eee6;
}

/* Compact avatar styles (plugin may not load dashboard CSS site-wide) */
.op-header .op-avatar {
	display: inline-block;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
	background-color: #f3f6f2;
	background-clip: padding-box;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.op-header .op-avatar--sm {
	width: 28px;
	height: 28px;
}

.op-header .op-avatar--pop {
	position: relative;
	overflow: visible;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.op-header .op-avatar--pop .op-avatar__disc {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--op-disc, #e8f0e4);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
	z-index: 0;
}

.op-header .op-avatar--pop .op-avatar__art {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 112%;
	height: 112%;
	transform: translate(-50%, -56%);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	pointer-events: none;
	z-index: 1;
}

.op-header__account-meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.op-header__points {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(250, 102, 25, 0.12);
	color: var(--op-h-orange);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.4;
	white-space: nowrap;
}

/* Guest auth links */
.op-header__guest {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 2px;
	font-size: 0.85rem;
	font-weight: 600;
}

.op-header__guest-link {
	color: #111111 !important;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.op-header__guest-link:hover,
.op-header__guest-link:focus {
	color: #111111 !important;
	opacity: 0.65;
}

.op-header__guest-sep {
	color: #111111 !important;
	font-weight: 500;
	opacity: 0.35;
}

/* Account dropdown */

/* Invisible bridge so cursor can move into the menu without closing it */
.op-header__account::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 14px;
	display: none;
}

.op-header__account:hover::after,
.op-header__account:focus-within::after,
.op-header__account.is-open::after {
	display: block;
}

.op-header__dropdown {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 220px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--op-h-line);
	border-radius: 14px;
	box-shadow: 0 14px 36px rgba(26, 36, 24, 0.12);
	z-index: 40;
}

.op-header__dropdown[hidden] {
	display: none !important;
}

.op-header__account:hover .op-header__dropdown,
.op-header__account:focus-within .op-header__dropdown,
.op-header__account.is-open .op-header__dropdown {
	display: block !important;
}

.op-header a.op-header__dropdown-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	color: #111111 !important;
	text-decoration: none !important;
	font-size: 0.9rem;
	font-weight: 600;
	transition: background 0.12s ease;
}

.op-header a.op-header__dropdown-item:hover,
.op-header a.op-header__dropdown-item:focus {
	background: var(--op-h-soft);
	color: #111111 !important;
}

.op-header a.op-header__dropdown-item--out {
	margin-top: 4px;
	border-top: 1px solid var(--op-h-line);
	border-radius: 0 0 10px 10px;
	padding-top: 12px;
	color: #dc2626 !important;
}

.op-header a.op-header__dropdown-item--out:hover,
.op-header a.op-header__dropdown-item--out:focus {
	background: #fef2f2;
	color: #dc2626 !important;
}

.op-header__dropdown-icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.op-header__dropdown-icon svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

.op-header a.op-header__dropdown-item .op-header__dropdown-icon,
.op-header a.op-header__dropdown-item:hover .op-header__dropdown-icon,
.op-header a.op-header__dropdown-item:focus .op-header__dropdown-icon {
	color: #111111 !important;
}

.op-header a.op-header__dropdown-item--out .op-header__dropdown-icon,
.op-header a.op-header__dropdown-item--out:hover .op-header__dropdown-icon,
.op-header a.op-header__dropdown-item--out:focus .op-header__dropdown-icon,
.op-header a.op-header__dropdown-item--out .op-header__dropdown-icon svg {
	color: #dc2626 !important;
}

/* Cart hover dropdown (same pattern as account) */
.op-header__cart {
	position: relative;
}

.op-header__cart::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 14px;
	display: none;
}

.op-header__cart:hover::after,
.op-header__cart:focus-within::after,
.op-header__cart.is-open::after {
	display: block;
}

.op-header__cart:hover .op-header__dropdown,
.op-header__cart:focus-within .op-header__dropdown,
.op-header__cart.is-open .op-header__dropdown {
	display: block !important;
}

.op-header__cart-dropdown {
	min-width: 288px;
	max-width: min(92vw, 320px);
	padding: 12px;
}

.op-header__cart-dropdown-inner {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.op-header__cart-empty {
	margin: 4px 12px 8px;
	font-size: 0.86rem;
	font-weight: 500;
	color: var(--op-h-muted);
}

.op-header__cart-preview {
	list-style: none;
	margin: 0 0 4px;
	padding: 0;
	max-height: 220px;
	overflow: auto;
}

.op-header__cart-preview-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 10px;
}

.op-header__cart-preview-item:hover {
	background: var(--op-h-soft);
}

.op-header__cart-preview-thumb {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--op-h-soft);
}

.op-header__cart-preview-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.op-header__cart-preview-meta {
	min-width: 0;
	flex: 1 1 auto;
}

.op-header__cart-preview-name {
	display: block;
	color: var(--op-h-ink) !important;
	text-decoration: none !important;
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.op-header__cart-preview-qty {
	display: block;
	margin-top: 2px;
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--op-h-muted);
}

.op-header__cart-more {
	margin: 0 12px 4px;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--op-h-muted);
}

.op-header__cart-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 12px 4px 10px;
	border-top: 1px solid var(--op-h-line);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--op-h-ink);
}

.op-header__cart-total .woocommerce-Price-amount {
	color: inherit;
	font-weight: 700;
}

.op-header__cart-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	padding: 0 2px 2px;
}

.op-header a.op-header__cart-checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	padding: 11px 16px;
	border: 0;
	border-radius: 10px;
	background: var(--op-h-orange, #FA6619);
	color: #fff !important;
	text-decoration: none !important;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-align: center;
	transition: filter 0.15s ease;
	box-sizing: border-box;
}

.op-header a.op-header__cart-checkout:hover,
.op-header a.op-header__cart-checkout:focus {
	filter: brightness(1.05);
	color: #fff !important;
	background: var(--op-h-orange, #FA6619);
}

.op-header button.op-header__cart-view {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--op-h-muted) !important;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: color 0.12s ease;
}

.op-header button.op-header__cart-view:hover,
.op-header button.op-header__cart-view:focus {
	background: none;
	color: var(--op-h-ink) !important;
	text-decoration: underline;
	outline: none;
}

/* Cart badge — orange */
.op-header__badge {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--op-h-orange);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	box-shadow: 0 0 0 2px #fff;
}

.op-header__badge[hidden] {
	display: none !important;
}

.op-header__action--cart.is-adding {
	pointer-events: none;
}

.op-header__action--cart.is-adding::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 999px;
	border: 2px solid transparent;
	border-top-color: var(--op-h-orange);
	border-right-color: rgba(250, 102, 25, 0.35);
	animation: op-cart-spin 0.7s linear infinite;
	pointer-events: none;
}

.op-header__badge.is-pending {
	animation: op-badge-pulse 0.9s ease infinite;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(250, 102, 25, 0.28);
}

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

@keyframes op-badge-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.12); opacity: 0.88; }
}

@media (prefers-reduced-motion: reduce) {
	.op-header__action--cart.is-adding::after,
	.op-header__badge.is-pending {
		animation: none !important;
	}
}

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

/* Mobile */
@media (max-width: 860px) {
	.op-header__inner {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"logo actions"
			"search search";
		gap: 8px 12px;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.op-header__logo { grid-area: logo; }
	.op-header__logo img { height: 28px; }
	.op-header__search {
		grid-area: search;
		max-width: none;
		justify-self: stretch;
	}
	.op-header__actions { grid-area: actions; }

	.op-header__action--cart {
		padding: 8px;
	}

	.op-header__account-meta .op-header__action-label {
		max-width: 6em;
	}

	.op-header__search-submit {
		padding: 0 12px;
		font-size: 0.78rem;
	}

	.op-header__guest {
		font-size: 0.82rem;
		gap: 6px;
	}

	.op-header__dropdown {
		right: -8px;
	}
}

@media (max-width: 520px) {
	.op-header__points {
		display: none;
	}

	.op-header__guest-link {
		font-size: 0.8rem;
	}
}

/* ——— Cart drawer ——— */
.op-cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 11000;
	font-family: 'Raleway', sans-serif;
	color: #111;
}

.op-cart-drawer[hidden] {
	display: none !important;
}

.op-cart-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.42);
	opacity: 0;
	transition: opacity 0.22s ease;
}

.op-cart-drawer.is-open .op-cart-drawer__overlay {
	opacity: 1;
}

.op-cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(420px, 100%);
	height: 100%;
	background: #fff;
	box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.op-cart-drawer.is-open .op-cart-drawer__panel {
	transform: translateX(0);
}

.op-cart-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	flex-shrink: 0;
}

.op-cart-drawer__title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.op-cart-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #111;
	cursor: pointer;
}

.op-cart-drawer__close:hover {
	background: #f7faf6;
}

.op-cart-drawer__body {
	flex: 1;
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 0;
	position: relative;
}

.op-cart-drawer.is-loading .op-cart-drawer__body::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 5;
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(1px);
	pointer-events: none;
}

.op-cart-drawer.is-loading .op-cart-drawer__body::after {
	content: '';
	position: absolute;
	top: 42%;
	left: 50%;
	z-index: 6;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	border-radius: 50%;
	border: 2.5px solid rgba(61, 140, 53, 0.2);
	border-top-color: rgb(61, 140, 53);
	animation: op-cart-spin 0.7s linear infinite;
	pointer-events: none;
}

.op-cart-drawer__empty {
	margin: auto;
	padding: 40px 24px;
	text-align: center;
}

.op-cart-drawer__empty p {
	margin: 0 0 16px;
	color: #5c6b58;
	font-weight: 500;
}

.op-cart-drawer__shop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 12px;
	background: rgb(61, 140, 53);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 0.92rem;
}

.op-cart-drawer__list-wrap {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.op-cart-drawer__list {
	list-style: none;
	margin: 0;
	padding: 8px 16px 0;
	flex: 0 0 auto;
}

.op-cart-drawer__item {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.op-cart-drawer__thumb {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
	background: #f3f5f2;
}

.op-cart-drawer__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.op-cart-drawer__name {
	display: block;
	color: #111 !important;
	text-decoration: none !important;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 8px;
}

.op-cart-drawer__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 32px;
}

.op-cart-drawer__qty {
	display: inline-grid;
	grid-template-columns: 32px 40px 32px;
	align-items: stretch;
	height: 32px;
	width: 104px;
	box-sizing: border-box;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	flex-shrink: 0;
}

.op-cart-drawer__qty button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #111;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	user-select: none;
}

.op-cart-drawer__qty button:hover {
	background: #f5f7f4;
}

.op-cart-drawer__qty button:focus {
	outline: none;
}

.op-cart-drawer__qty button:focus-visible {
	background: #f0f4ef;
}

.op-cart-drawer__qty input {
	display: block;
	width: 40px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid rgba(0, 0, 0, 0.12);
	border-right: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	text-align: center;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 32px;
	color: #111;
	appearance: textfield;
	-moz-appearance: textfield;
	-webkit-appearance: none;
	box-sizing: border-box;
}

.op-cart-drawer__qty input:focus {
	outline: none;
	background: #fafbfa;
}

.op-cart-drawer__qty input::-webkit-outer-spin-button,
.op-cart-drawer__qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
	height: 0;
}

.op-cart-drawer__line {
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
	color: #111;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.op-cart-drawer__remove {
	margin-top: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: #888;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.op-cart-drawer__remove:hover {
	color: #dc2626;
}

.op-cart-drawer__free {
	margin-top: auto;
	padding: 14px 16px 12px;
	border: 0;
	background: transparent;
	text-align: left;
	width: 100%;
	box-sizing: border-box;
}

.op-cart-drawer__free-msg {
	margin: 0 0 6px;
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.35;
	color: #5c6b58;
	text-align: left;
}

.op-cart-drawer__free-msg .woocommerce-Price-amount,
.op-cart-drawer__free-hint .woocommerce-Price-amount {
	font-weight: 700;
	color: #FA6619;
}

.op-cart-drawer__free-bar {
	height: 3px;
	width: 100%;
	max-width: none;
	margin: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.07);
	overflow: hidden;
}

.op-cart-drawer__free-bar > span {
	display: block;
	height: 100%;
	background: rgb(61, 140, 53);
	border-radius: inherit;
	transition: width 0.25s ease;
}

.op-cart-drawer__free-hint {
	margin: 6px 0 0;
	font-size: 0.68rem;
	line-height: 1.35;
	color: #8a9486;
	text-align: left;
}

.op-cart-drawer__summary {
	padding: 12px 16px 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	flex-shrink: 0;
	box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.03);
}

.op-cart-drawer__totals {
	display: grid;
	gap: 4px;
	padding: 2px 0 0;
}

.op-cart-drawer__sum-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.35;
	color: #6b7568;
}

.op-cart-drawer__sum-row .woocommerce-Price-amount,
.op-cart-drawer__sum-row > span:last-child {
	font-weight: 600;
	color: #4a5548;
	font-variant-numeric: tabular-nums;
}

.op-cart-drawer__sum-row--points {
	color: rgb(61, 140, 53);
	font-weight: 600;
	font-size: 0.76rem;
}

.op-cart-drawer__sum-row--points > span:last-child {
	color: rgb(61, 140, 53);
}

.op-cart-drawer__sum-row--total {
	margin-top: 4px;
	padding-top: 7px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 0.92rem;
	font-weight: 700;
	color: #111;
}

.op-cart-drawer__sum-row--total > span:last-child {
	color: #111;
	font-weight: 700;
}

.op-cart-drawer__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	margin-top: 12px;
}

.op-cart-drawer__checkout {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 0;
	padding: 13px 16px;
	border-radius: 12px;
	background: var(--op-h-orange, #FA6619);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	transition: filter 0.15s ease;
	box-sizing: border-box;
}

.op-cart-drawer__checkout:hover {
	filter: brightness(1.05);
	color: #fff !important;
}

.op-cart-drawer__view-cart {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--op-h-muted, #5c6b58) !important;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	transition: color 0.12s ease;
}

.op-cart-drawer__view-cart:hover,
.op-cart-drawer__view-cart:focus {
	color: var(--op-h-ink, #111) !important;
	text-decoration: underline !important;
}

body.op-cart-drawer-open {
	overflow: hidden;
}

/* ——— Theme-aware surfaces (search, dropdown, drawer) ——— */
.op-header__search-field {
	border-color: var(--op-border);
	background: var(--op-bg-soft);
}

.op-header__search-field:focus-within {
	border-color: var(--op-border-strong);
	background: var(--op-bg-elevated);
}

.op-header__search-input {
	color: var(--op-text) !important;
}

.op-header__search-icon,
.op-header__search-input::placeholder {
	color: var(--op-text-muted);
}

.op-header__suggest {
	background: var(--op-bg-elevated);
	border-color: var(--op-border);
	box-shadow: 0 12px 32px var(--op-shadow);
}

.op-header__dropdown {
	background: var(--op-bg-elevated);
	border-color: var(--op-border);
	box-shadow: 0 12px 32px var(--op-shadow);
}

.op-header a.op-header__dropdown-item,
.op-header a.op-header__dropdown-item:hover,
.op-header a.op-header__dropdown-item:focus {
	color: var(--op-text) !important;
}

.op-header a.op-header__dropdown-item:hover,
.op-header a.op-header__dropdown-item:focus {
	background: var(--op-bg-soft);
}

.op-header a.op-header__dropdown-item .op-header__dropdown-icon,
.op-header a.op-header__dropdown-item:hover .op-header__dropdown-icon {
	color: var(--op-text) !important;
}

.op-header__guest-link {
	color: var(--op-text) !important;
}

.op-cart-drawer__overlay {
	background: var(--op-overlay);
}

.op-cart-drawer__panel {
	background: var(--op-bg-elevated);
	color: var(--op-text);
	box-shadow: -12px 0 40px var(--op-shadow);
}

.op-cart-drawer__head {
	border-bottom-color: var(--op-border);
}

.op-cart-drawer__title,
.op-cart-drawer__close,
.op-cart-drawer__name,
.op-cart-drawer__line {
	color: var(--op-text) !important;
}

.op-cart-drawer__close:hover {
	background: var(--op-bg-soft);
}

.op-cart-drawer__item {
	border-bottom-color: var(--op-border);
}

.op-cart-drawer__thumb {
	background: var(--op-bg-soft);
}

.op-cart-drawer__qty {
	border-color: var(--op-border-strong);
	background: var(--op-input-bg);
}

.op-cart-drawer__qty button,
.op-cart-drawer__qty input {
	background: var(--op-input-bg);
	color: var(--op-text);
	border-color: var(--op-border);
}

.op-cart-drawer__qty button:hover {
	background: var(--op-bg-soft);
}

.op-cart-drawer__free-msg {
	color: var(--op-text-muted);
}

.op-cart-drawer__free-hint {
	color: var(--op-text-muted);
}

.op-cart-drawer__free-bar {
	background: var(--op-border);
}

.op-cart-drawer__summary {
	background: var(--op-bg-elevated);
	border-top-color: var(--op-border);
}

.op-cart-drawer__sum-row {
	color: var(--op-text-muted);
}

.op-cart-drawer__sum-row .woocommerce-Price-amount,
.op-cart-drawer__sum-row > span:last-child {
	color: var(--op-text-muted);
}

.op-cart-drawer__sum-row--total,
.op-cart-drawer__sum-row--total > span:last-child {
	color: var(--op-text);
}

.op-cart-drawer__checkout {
	background: var(--op-orange, #FA6619);
}

.op-cart-drawer__view-cart {
	color: var(--op-text-muted) !important;
}

.op-cart-drawer__view-cart:hover,
.op-cart-drawer__view-cart:focus {
	color: var(--op-text) !important;
}

.op-header a.op-header__cart-checkout {
	background: var(--op-orange, #FA6619);
}

.op-cart-drawer__empty p {
	color: var(--op-text-muted);
}

.op-cart-drawer__shop {
	background: var(--op-green);
}
