/* Numéro Shop UX (NS-28..31). Black and white, square corners, like the rest of the shop. */

/* ---------- NS-28: cart icon with item count ---------- */
#et-top-navigation .et-cart-info.numero-cart {
	position: relative;
}
.numero-cart-count {
	position: absolute;
	top: -9px;
	left: 11px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	box-sizing: border-box;
	border-radius: 9px;
	background: #000;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
	font-family: Helvetica, Arial, sans-serif;
}
.numero-cart.numero-cart--bump .numero-cart-count {
	animation: numero-cart-bump 0.6s ease;
}
@keyframes numero-cart-bump {
	0% { transform: scale(1); }
	40% { transform: scale(1.5); }
	100% { transform: scale(1); }
}

/* Mini-cart panel under the icon */
.numero-minicart {
	position: absolute;
	z-index: 100001;
	width: 340px;
	max-width: calc(100vw - 24px);
	padding: 18px 20px 20px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #000;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	font-size: 14px;
	color: #000;
}
.numero-minicart[hidden] {
	display: none;
}
.numero-minicart__title {
	margin: 0 0 10px;
	padding: 0;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 12px;
}
.numero-minicart ul.woocommerce-mini-cart {
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 50vh;
	overflow: auto;
}
.numero-minicart li.woocommerce-mini-cart-item {
	position: relative;
	display: block;
	min-height: 64px;
	margin: 0 !important;
	padding: 8px 22px 8px 58px !important;
	border-bottom: 1px solid #eee;
	line-height: 1.35;
	list-style: none;
}
.numero-minicart li.woocommerce-mini-cart-item img {
	position: absolute;
	left: 0;
	top: 8px;
	width: 46px !important;
	height: auto;
	margin: 0 !important;
	float: none !important;
}
.numero-minicart li.woocommerce-mini-cart-item a {
	color: #000;
}
.numero-minicart li.woocommerce-mini-cart-item a.remove {
	position: absolute;
	right: 0;
	top: 8px;
	color: #999 !important;
	font-size: 18px;
	line-height: 1;
	text-decoration: none;
}
.numero-minicart .quantity {
	display: block;
	color: #555;
	font-size: 13px;
}
.numero-minicart .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 12px 0;
	padding: 0;
	font-weight: 700;
}
.numero-minicart .woocommerce-mini-cart__buttons {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
}
.numero-minicart .woocommerce-mini-cart__buttons a.button {
	flex: 1;
	margin: 0 !important;
	padding: 10px 8px !important;
	border: 1px solid #000 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #000 !important;
	font-size: 14px !important;
	text-align: center;
}
.numero-minicart .woocommerce-mini-cart__buttons a.button::after {
	display: none !important;
}
.numero-minicart .woocommerce-mini-cart__buttons a.button.checkout {
	background: #000 !important;
	color: #fff !important;
}
.numero-minicart .woocommerce-mini-cart__empty-message {
	margin: 6px 0 0;
}

/* "Added to your cart" message */
.numero-cart-toast {
	position: fixed;
	z-index: 100002;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 18px;
	background: #000;
	color: #fff;
	font-size: 14px;
	max-width: calc(100vw - 32px);
	box-sizing: border-box;
}
.numero-cart-toast[hidden] {
	display: none;
}
.numero-cart-toast a {
	color: #fff !important;
	text-decoration: underline;
	white-space: nowrap;
}

/* ---------- NS-29: white form fields with a thin black border (cart, checkout, account) ---------- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea,
.woocommerce-page form .form-row select,
.woocommerce-page .select2-container--default .select2-selection--single,
.woocommerce .quantity input.qty,
.woocommerce-page .quantity input.qty,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-page #coupon_code,
.numero-coupon input[type="text"] {
	background-color: #fff !important;
	border: 1px solid #000 !important;
	border-radius: 0 !important;
	color: #000 !important;
	box-shadow: none !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce-page form .form-row input.input-text:focus,
.woocommerce-page form .form-row textarea:focus,
.woocommerce .quantity input.qty:focus,
.woocommerce-page #coupon_code:focus,
.numero-coupon input[type="text"]:focus {
	outline: none !important;
	box-shadow: inset 0 0 0 1px #000 !important;
}
.woocommerce-page .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #000;
}
.woocommerce form .form-row input.input-text::placeholder,
.woocommerce-page form .form-row input.input-text::placeholder,
.numero-coupon input[type="text"]::placeholder {
	color: #888;
}
/* Fields that really are not editable keep a light grey look, so they still read as "locked". */
.woocommerce form .form-row input.input-text[readonly],
.woocommerce form .form-row input.input-text:disabled {
	background-color: #f4f4f4 !important;
	border-color: #ccc !important;
}

/* Cart page: coupon field, "Apply coupon" and "Update cart" all the same height, on one line. */
.woocommerce-cart table.cart td.actions .coupon {
	display: inline-flex;
	align-items: stretch;
	gap: 8px;
}
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-cart table.cart td.actions .coupon .button,
.woocommerce-cart table.cart td.actions > .button {
	height: 46px !important;
	min-height: 46px;
	margin: 0 !important;
	box-sizing: border-box !important;
	line-height: 1.2 !important;
	vertical-align: middle;
}
.woocommerce-cart table.cart td.actions .coupon .input-text {
	width: 180px !important;
	padding: 0 12px !important;
	font-size: 14px !important;
}
.woocommerce-cart table.cart td.actions .coupon .button,
.woocommerce-cart table.cart td.actions > .button {
	padding: 0 18px !important;
	font-size: 16px !important;
	white-space: nowrap;
}
.woocommerce-cart table.cart td.actions .coupon .button::after,
.woocommerce-cart table.cart td.actions > .button::after {
	display: none !important;
}
@media (max-width: 767px) {
	.woocommerce-cart table.cart td.actions .coupon {
		display: flex;
		width: 100%;
	}
	.woocommerce-cart table.cart td.actions .coupon .input-text {
		flex: 1;
		width: auto !important;
	}
	.woocommerce-cart table.cart td.actions .coupon .button {
		padding: 0 12px !important;
		font-size: 15px !important;
	}
	.woocommerce-cart table.cart td.actions > .button {
		width: 100%;
		margin-top: 8px !important;
	}
}

/* ---------- NS-31: coupon below "Your order" on checkout ---------- */
body.numero-coupon-moved.woocommerce-checkout .woocommerce-form-coupon-toggle {
	display: none !important;
}
.numero-coupon {
	margin: 18px 0 8px;
	font-size: 14px;
}
.numero-coupon__toggle {
	color: #000 !important;
	text-decoration: underline;
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
}
.numero-coupon__row {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}
.numero-coupon__row[hidden] {
	display: none;
}
.numero-coupon__row input[type="text"] {
	flex: 1;
	min-width: 0;
	padding: 10px 12px !important;
	font-size: 14px;
}
.numero-coupon__row button {
	padding: 10px 18px;
	border: 1px solid #000;
	border-radius: 0;
	background: #000;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
}
.numero-coupon__row button[disabled] {
	opacity: 0.5;
	cursor: wait;
}
.numero-coupon__msg {
	margin: 8px 0 0;
	font-size: 13px;
}
.numero-coupon__msg.is-error {
	color: #b00020;
}
