/*
 * WooCommerce notice buttons
 * --------------------------
 * The temporary-password notice renders a dark pill ("Resend") but the label
 * inherits the notice's dark body colour, so it prints dark-on-dark and reads as
 * an empty black blob. Force the label to the site cream and give the pill the
 * gold hover used everywhere else.
 */

.woocommerce-notices-wrapper .woocommerce-info a.button,
.woocommerce-notices-wrapper .woocommerce-info button.button,
.woocommerce-notices-wrapper .woocommerce-message a.button,
.woocommerce-notices-wrapper .woocommerce-message button.button,
.woocommerce-notices-wrapper .woocommerce-error a.button,
.woocommerce-notices-wrapper .woocommerce-error button.button,
.woocommerce-info > a.button,
.woocommerce-message > a.button,
.woocommerce-error > a.button {
	color: #f7f2e9 !important;
	background-color: #111111;
	border: 1px solid rgba(200, 161, 107, 0.55);
	font-weight: 500;
	letter-spacing: 0.04em;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.woocommerce-notices-wrapper .woocommerce-info a.button:hover,
.woocommerce-notices-wrapper .woocommerce-info button.button:hover,
.woocommerce-notices-wrapper .woocommerce-message a.button:hover,
.woocommerce-notices-wrapper .woocommerce-error a.button:hover,
.woocommerce-info > a.button:hover,
.woocommerce-message > a.button:hover,
.woocommerce-error > a.button:hover {
	background-color: #c8a16b;
	border-color: #c8a16b;
	color: #1b1719 !important;
}

.woocommerce-notices-wrapper .woocommerce-info a.button:focus-visible,
.woocommerce-info > a.button:focus-visible {
	outline: 2px solid #c8a16b;
	outline-offset: 2px;
}

/* the notice itself: keep the copy readable against its translucent plate */
.woocommerce-notices-wrapper .woocommerce-info {
	color: #1b1719;
}

/*
 * The lock glyph is drawn with ::before and was sitting on top of the first
 * word. Reserve a gutter for it and pin the glyph into that gutter.
 */
.woocommerce-notices-wrapper .woocommerce-info {
	position: relative;
	padding-left: 56px;
	min-height: 64px;
	display: flex;
	align-items: center;
}

.woocommerce-notices-wrapper .woocommerce-info::before {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	color: #8a6d3b;
	line-height: 1;
}

@media (max-width: 781px) {
	.woocommerce-notices-wrapper .woocommerce-info {
		padding-left: 44px;
	}

	.woocommerce-notices-wrapper .woocommerce-info::before {
		left: 14px;
	}
}
