.wcof-options {
	box-sizing: border-box;
	clear: both;
	margin: 14px 0;
	max-width: 100%;
	min-width: 0;
	position: relative;
}

.wcof-options *,
.wcof-options *::before,
.wcof-options *::after {
	box-sizing: border-box;
}

.wcof-min-order-note {
	clear: both;
	color: #20615f;
	font-size: 14px;
	font-weight: 700;
	margin: 10px 0 0;
}

.wcof-options__title {
	background: #f6f7f7;
	border: 1px solid #e0e4e7;
	border-radius: 8px 8px 0 0;
	color: #1f2933;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 0;
	padding: 8px 10px;
}

.wcof-options__choices {
	border-left: 1px solid #e0e4e7;
	border-right: 1px solid #e0e4e7;
	display: grid;
	gap: 0;
}

.wcof-option-card {
	align-items: center;
	background: #fff;
	border: 0;
	border-bottom: 1px solid #e0e4e7;
	border-radius: 0;
	cursor: default;
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) 74px 92px;
	gap: 10px;
	margin: 0;
	padding: 9px;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.wcof-option-card:hover,
.wcof-option-card.is-selected {
	background: #fbffff;
	box-shadow: inset 3px 0 0 #2f6f6d;
}

.wcof-option-card input[type="checkbox"] {
	flex: 0 0 auto;
	margin: 0;
}

.wcof-option-card__media {
	border-radius: 6px;
	cursor: zoom-in;
	display: block;
	height: 54px;
	overflow: hidden;
	width: 54px;
}

.wcof-option-card__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.wcof-option-card__body {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.wcof-option-card__name {
	color: #1f2933;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
}

.wcof-option-card__description {
	color: #59636e;
	font-size: 12px;
	line-height: 1.3;
}

.wcof-option-card__price {
	display: flex;
	gap: 5px;
	line-height: 1.25;
	min-width: 0;
}

.wcof-option-card__price span,
.wcof-option-card__line-total span {
	color: #59636e;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.wcof-option-card__price strong {
	color: #20615f;
	font-size: 13px;
	font-weight: 800;
}

.wcof-option-card__qty {
	align-items: center;
	display: grid;
	gap: 4px;
	justify-items: center;
}

.wcof-option-card__qty span {
	color: #59636e;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.wcof-option-card__qty input {
	border: 1px solid #c8d0d6;
	border-radius: 6px;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 700;
	height: 34px;
	line-height: 1;
	margin: 0;
	max-width: 64px;
	padding: 4px 6px;
	text-align: center;
	width: 64px;
}

.wcof-option-card__line-total {
	display: grid;
	gap: 4px;
	justify-items: end;
	min-width: 0;
	text-align: right;
}

.wcof-option-card__line-total strong {
	color: #1f2933;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.wcof-option-card__qty input[readonly] {
	background: #f6f7f7;
	color: #59636e;
}

.wcof-option-card--none {
	background: #fafafa;
	cursor: default;
}

.wcof-option-card__none-mark {
	align-items: center;
	background: #eef1f3;
	border-radius: 6px;
	color: #59636e;
	display: inline-flex;
	font-size: 22px;
	font-weight: 800;
	height: 54px;
	justify-content: center;
	width: 54px;
}

.wcof-options__footer {
	align-items: center;
	background: #f8faf9;
	border: 1px solid #e0e4e7;
	border-radius: 0 0 8px 8px;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 9px 10px;
}

.wcof-options__footer span {
	color: #1f2933;
	font-size: 13px;
	font-weight: 800;
}

.wcof-options__footer strong {
	color: #20615f;
	font-size: 15px;
	font-weight: 900;
}

.wcof-selected-summary {
	display: none !important;
}

.wcof-selected-summary[hidden] {
	display: none;
}

.wcof-selected-summary__button {
	align-items: center;
	background: #f5faf9;
	border: 1px solid #b8d3d0;
	border-radius: 8px;
	color: #1f2933;
	cursor: default;
	display: inline-flex;
	gap: 9px;
	max-width: 100%;
	padding: 7px 9px;
	text-align: left;
}

.wcof-selected-summary__button img {
	border-radius: 6px;
	display: block;
	height: 42px;
	object-fit: cover;
	width: 42px;
}

.wcof-selected-summary__button span {
	display: grid;
	gap: 1px;
	min-width: 0;
}

.wcof-selected-summary__button strong,
.wcof-selected-summary__button small {
	overflow-wrap: anywhere;
}

.wcof-selected-summary__button strong {
	font-size: 13px;
	line-height: 1.25;
}

.wcof-selected-summary__button small {
	color: #3f4a54;
	font-size: 12px;
	line-height: 1.25;
}

.wcof-cart-options,
.wcof-checkout-options {
	margin-top: 10px;
	max-width: 560px;
	min-width: 0;
	width: 100%;
}

.wcof-cart-options {
	max-width: 360px;
}

.wcof-cart-options .wcof-option-card {
	align-items: center;
	gap: 6px 9px;
	grid-template-areas:
		"media body qty"
		"media body total";
	grid-template-columns: 54px minmax(0, 1fr) 74px;
	padding: 9px;
}

.wcof-cart-options .wcof-option-card__media,
.wcof-cart-options .wcof-option-card__none-mark {
	grid-area: media;
}

.wcof-cart-options .wcof-option-card__body {
	align-self: center;
	grid-area: body;
}

.wcof-cart-options .wcof-option-card__description {
	display: none;
}

.wcof-cart-options .wcof-option-card__price {
	display: grid;
	gap: 1px;
	margin-top: 3px;
}

.wcof-cart-options .wcof-option-card__price span,
.wcof-cart-options .wcof-option-card__line-total span {
	font-size: 10px;
}

.wcof-cart-options .wcof-option-card__qty {
	align-self: end;
	grid-area: qty;
	justify-items: end;
}

.wcof-cart-options .wcof-option-card__qty input {
	height: 32px;
	max-width: 60px;
	width: 60px;
}

.wcof-cart-options .wcof-option-card__line-total {
	align-self: start;
	grid-area: total;
}

.wcof-cart-options .wcof-option-card__line-total strong {
	font-size: 13px;
}

.wcof-checkout-options .wcof-option-card {
	grid-template-columns: 46px minmax(0, 1fr) 58px 72px;
	padding: 7px;
}

.wcof-checkout-options .wcof-option-card__description {
	display: none;
}

.wcof-checkout-options .wcof-option-card__media,
.wcof-checkout-options .wcof-option-card__none-mark {
	height: 46px;
	width: 46px;
}

.wcof-checkout-options .wcof-option-card__qty input {
	max-width: 54px;
	width: 54px;
}

.wcof-checkout-options .wcof-option-card__price {
	display: grid;
	gap: 1px;
}

.wcof-checkout-options .wcof-option-card__line-total strong {
	font-size: 13px;
}

.wcof-options.is-updating {
	opacity: 0.58;
	pointer-events: none;
}

.wcof-modal[hidden] {
	display: none;
}

.wcof-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 18px;
	position: fixed;
	z-index: 999999;
}

.wcof-modal__backdrop {
	background: rgba(18, 24, 31, 0.72);
	inset: 0;
	position: absolute;
}

.wcof-modal__dialog {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
	max-height: 92vh;
	max-width: min(920px, 94vw);
	overflow: hidden;
	position: relative;
	width: max-content;
}

.wcof-modal__bar {
	align-items: center;
	background: #1f2933;
	color: #fff;
	display: flex;
	font-size: 14px;
	font-weight: 700;
	gap: 16px;
	justify-content: space-between;
	line-height: 1.3;
	padding: 10px 12px;
}

.wcof-modal__close {
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 999px;
	color: #1f2933;
	cursor: pointer;
	display: inline-flex;
	font-size: 15px;
	font-weight: 800;
	height: 30px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 30px;
}

.wcof-modal__image {
	display: block;
	max-height: 72vh;
	max-width: 94vw;
	object-fit: contain;
	width: auto;
}

.wcof-modal__caption {
	color: #1f2933;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 12px 12px;
}

body.wcof-modal-open {
	overflow: hidden;
}

@media (max-width: 520px) {
	.wcof-option-card {
		align-items: flex-start;
		display: grid;
		grid-template-columns: 54px minmax(0, 1fr) 66px;
	}

	.wcof-option-card__line-total {
		grid-column: 2 / 4;
		justify-items: start;
		text-align: left;
	}

	.wcof-cart-options .wcof-option-card {
		grid-template-areas:
			"media body"
			"qty total";
		grid-template-columns: 66px minmax(0, 1fr);
	}

	.wcof-cart-options .wcof-option-card__qty,
	.wcof-cart-options .wcof-option-card__line-total {
		align-self: center;
	}

	.wcof-cart-options .wcof-option-card__qty {
		justify-items: start;
	}

	.wcof-cart-options .wcof-option-card__line-total {
		grid-column: auto;
		justify-items: end;
		text-align: right;
	}

	.wcof-modal {
		padding: 10px;
	}

	.wcof-modal__bar {
		font-size: 13px;
	}
}
