.wc-gf-quote-wrapper {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.wc-gf-quote-wrapper *,
.wc-gf-quote-wrapper *::before,
.wc-gf-quote-wrapper *::after {
	box-sizing: border-box;
}

.wc-gf-quote-summary {
	width: 100%;
	margin: 0 0 2rem;
	padding: 1.25rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 10px;
	background: #fff;
}

.wc-gf-quote-summary__title {
	margin: 0 0 1rem;
	font-size: 1.5rem;
	line-height: 1.2;
}

.wc-gf-quote-table {
	width: 100%;
	display: grid;
	gap: 0;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	overflow: hidden;
}

.wc-gf-quote-row {
	display: grid;
	grid-template-columns: var(--wcgfqr-grid-columns, minmax(0, 1fr) minmax(120px, 180px));
	align-items: stretch;
}

.wc-gf-quote-table--has-image .wc-gf-quote-row {
	grid-template-columns: var(--wcgfqr-grid-columns, 96px minmax(0, 1fr) minmax(120px, 180px));
}

.wc-gf-quote-table--has-sku .wc-gf-quote-row {
	grid-template-columns: var(--wcgfqr-grid-columns, minmax(0, 1fr) minmax(100px, 150px) minmax(120px, 180px));
}

.wc-gf-quote-table--has-image.wc-gf-quote-table--has-sku .wc-gf-quote-row {
	grid-template-columns: var(--wcgfqr-grid-columns, 96px minmax(0, 1fr) minmax(100px, 150px) minmax(120px, 180px));
}

.wc-gf-quote-row + .wc-gf-quote-row {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.wc-gf-quote-row--head {
	font-weight: 700;
	background: rgba(0, 0, 0, 0.04);
}

.wc-gf-quote-cell {
	padding: 0.85rem 1rem;
	min-width: 0;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
}

.wc-gf-quote-row--head .wc-gf-quote-cell {
	overflow-wrap: normal;
	word-break: keep-all;
	white-space: normal;
}

.wc-gf-quote-cell + .wc-gf-quote-cell {
	border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.wc-gf-quote-cell--image {
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	text-align: center;
}

.wc-gf-quote-product-image img {
	display: inline-block;
	width: 40px;
	height: 40px;
	max-width: 40px;
	max-height: 40px;
	object-fit: cover;
	vertical-align: middle;
	border-radius: 4px;
}

.wc-gf-quote-product-name {
	font-weight: 600;
}

.wc-gf-quote-product-sku,
.wc-gf-quote-quantity,
.wc-gf-quote-amount {
	font-weight: 600;
}

.wc-gf-quote-cell--remove {
	text-align: center;
}

.wc-gf-quote-form {
	width: 100%;
	max-width: 100%;
}

.wc-gf-quote-review__form {
	margin: 0;
}

.wc-gf-quote-amount-stepper {
	display: inline-grid;
	grid-template-columns: 36px minmax(52px, 72px) 36px;
	align-items: stretch;
	max-width: 150px;
	border: 1px solid rgba(0, 0, 0, 0.22);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.wc-gf-quote-amount-stepper__button {
	min-height: 38px;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.05);
	cursor: pointer;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
}

.wc-gf-quote-amount-stepper__button:hover,
.wc-gf-quote-amount-stepper__button:focus {
	background: rgba(0, 0, 0, 0.1);
}

.wc-gf-quote-amount-input {
	width: 100%;
	min-height: 38px;
	padding: 0.45rem 0.35rem;
	border: 0;
	border-left: 1px solid rgba(0, 0, 0, 0.12);
	border-right: 1px solid rgba(0, 0, 0, 0.12);
	font: inherit;
	font-weight: 600;
	text-align: center;
	appearance: textfield;
	-moz-appearance: textfield;
}

.wc-gf-quote-amount-input::-webkit-inner-spin-button,
.wc-gf-quote-amount-input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.wc-gf-quote-amount-input:focus {
	outline: 2px solid rgba(0, 115, 170, 0.28);
	outline-offset: -2px;
}

.wc-gf-quote-remove-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 50%;
	background: #fff;
	color: #8a1f11;
	cursor: pointer;
	font: inherit;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1;
}

.wc-gf-quote-remove-button:hover,
.wc-gf-quote-remove-button:focus {
	background: #fdecec;
	border-color: rgba(138, 31, 17, 0.35);
	outline: none;
}

.wc-gf-quote-review__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-top: 1rem;
}

.wc-gf-quote-review__actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.55rem 1rem;
	text-decoration: none;
}

.wc-gf-quote-notice {
	width: 100%;
	padding: 1rem;
	margin: 0 0 1rem;
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	font-weight: 600;
}

.wc-gf-quote-notice--warning {
	background: #fff8e5;
}

.wc-gf-quote-notice--error {
	background: #fdecec;
}

.wc-gf-quote-notice--success {
	background: #edf8ed;
}

@media (max-width: 700px) {
	.wc-gf-quote-summary {
		padding: 1rem;
	}

	.wc-gf-quote-row,
	.wc-gf-quote-table--has-image .wc-gf-quote-row,
	.wc-gf-quote-table--has-sku .wc-gf-quote-row,
	.wc-gf-quote-table--has-image.wc-gf-quote-table--has-sku .wc-gf-quote-row {
		display: block;
	}

	.wc-gf-quote-row--head {
		display: none !important;
	}

	.wc-gf-quote-item {
		padding: 0.85rem 0;
		background: #fff;
	}

	.wc-gf-quote-item--alt {
		background: #f7f7f7;
	}

	.wc-gf-quote-cell {
		display: block;
		padding: 0.35rem 1rem;
		border-left: 0;
	}

	.wc-gf-quote-cell + .wc-gf-quote-cell {
		border-left: 0;
	}

	.wc-gf-quote-cell::before {
		display: none;
		content: none;
	}

	.wc-gf-quote-cell--image {
		text-align: left;
	}

	.wc-gf-quote-product-name {
		font-size: 1rem;
		line-height: 1.35;
	}

	.wc-gf-quote-product-sku,
	.wc-gf-quote-quantity,
	.wc-gf-quote-amount {
		font-size: 0.95rem;
		line-height: 1.35;
	}

	.wc-gf-quote-cell--remove {
		text-align: left;
	}

	.wc-gf-quote-amount-stepper {
		max-width: 100%;
	}
}
