/* Plus Quote — frontend (minimal Phase 1) */
:root {
	--pq-accent: #1a5f4a;
	--pq-border: #d0d7de;
	--pq-bg: #f6f8fa;
}

.plus-quote-add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	margin-top: 0.5rem;
	background: var(--pq-add-bg, var(--pq-button-bg, var(--pq-accent)));
	color: var(--pq-add-text, var(--pq-button-text, #fff));
	border: none;
	cursor: pointer;
}

.plus-quote-add__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.1rem;
	height: 1.1rem;
	flex: 0 0 auto;
}

.plus-quote-add__icon--default {
	border: 2px solid currentColor;
	border-radius: 2px;
	box-sizing: border-box;
}

.plus-quote-add__icon--custom img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.plus-quote-add.is-type-icon {
	width: 48px;
	height: 48px;
	min-height: 48px;
	padding: 0;
	border-radius: 12px;
	margin-top: 0;
}

.plus-quote-add.is-type-icon .plus-quote-add__icon {
	width: 1.35rem;
	height: 1.35rem;
}

.plus-quote-add.is-type-icon .plus-quote-add__label {
	display: none;
}

.plus-quote-product-controls.is-align-left {
	align-items: flex-start;
	text-align: left;
}

.plus-quote-product-controls.is-align-center {
	align-items: center;
	text-align: center;
}

.plus-quote-product-controls.is-align-right {
	align-items: flex-end;
	text-align: right;
}

.plus-quote-product-controls--loop {
	margin: 0.35rem 0 0.5rem;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.plus-quote-product-controls--loop.is-overlay {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	right: 0.5rem;
	z-index: 5;
	margin: 0;
	pointer-events: none;
	display: block;
	width: auto;
}

.plus-quote-product-controls--loop.is-overlay .plus-quote-add {
	pointer-events: auto;
	box-shadow: 0 8px 18px rgba(23, 50, 77, 0.28);
}

/* A custom image icon used as an overlay button acts as a plain clickable area:
   the image itself is the visual button, the element behind it stays fully transparent. */
.plus-quote-product-controls--loop.is-overlay .plus-quote-add.is-type-icon.is-icon-custom {
	display: inline-flex;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.plus-quote-product-controls--loop.is-overlay .plus-quote-add.is-type-icon.is-icon-custom .plus-quote-add__icon {
	width: 44px;
	height: 44px;
}

ul.products li.product {
	position: relative;
}

.plus-quote-loop-modal .plus-quote-loop-modal__dialog {
	max-width: 28rem;
	text-align: left;
}

.plus-quote-loop-modal .plus-quote-notice-modal__title {
	text-align: center;
	margin-bottom: 1rem;
}

.plus-quote-loop-modal__content {
	margin-bottom: 1rem;
}

.plus-quote-loop-modal__content .plus-quote-product-controls,
.plus-quote-loop-modal__content [data-pq-product-controls] {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 0;
	border: 0;
	background: transparent;
}

.plus-quote-loop-modal__content .plus-quote-add {
	width: 100%;
	margin-top: 0.35rem;
}

html.plus-quote-loop-modal-open {
	overflow: hidden;
}

.plus-quote-completion-modal .plus-quote-notice__actions {
	display: grid;
	grid-template-columns: 1fr;
	margin-bottom: 0.85rem;
}

.plus-quote-completion-modal .plus-quote-completion-modal__cta {
	width: 100%;
	min-height: 54px;
	font-size: 1.05rem;
}

.plus-quote-cart__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.plus-quote-form {
	max-width: 32rem;
	display: grid;
	gap: 0.75rem;
}

.plus-quote-form__field {
	margin: 0;
	display: grid;
	gap: 0.35rem;
}

.plus-quote-form__field--checkbox {
	display: block;
}

.plus-quote-form__field--acceptance .plus-quote-form__policy-link {
	display: inline-block;
	margin-left: 0.35em;
}

.plus-quote-form__check {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 500;
}

.plus-quote-form__check .plus-quote-field-control {
	width: auto;
	min-height: auto;
	margin-top: 0.2rem;
}

.plus-quote-form input,
.plus-quote-form textarea {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid var(--pq-border);
	background: #fff;
}

.plus-quote-form input[type="checkbox"],
.plus-quote-form input[type="radio"],
.plus-quote-form input[type="hidden"] {
	width: auto;
	min-height: auto;
	padding: 0;
}

.plus-quote-form__status {
	padding: 0.5rem 0.75rem;
	background: var(--pq-bg);
	border-left: 3px solid var(--pq-accent);
}

.plus-quote-mini {
	position: relative;
	display: inline-block;
	z-index: 1000;
}

.plus-quote-mini__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
	color: inherit;
	font: inherit;
}

.plus-quote-mini__icon {
	width: var(--pq-mini-icon-size, 40px);
	height: var(--pq-mini-icon-size, 40px);
	border: 0;
	border-radius: 0;
	background: transparent;
	flex: 0 0 auto;
	box-sizing: border-box;
}

.plus-quote-mini__icon-img {
	width: var(--pq-mini-icon-size, 40px);
	height: var(--pq-mini-icon-size, 40px);
	object-fit: contain;
	display: block;
	flex: 0 0 auto;
}

.plus-quote-mini__badge {
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.3rem;
	border-radius: 999px;
	background: var(--pq-accent);
	color: #fff;
	font-size: 0.75rem;
	line-height: 1.25rem;
	text-align: center;
}

.plus-quote-mini__panel {
	position: absolute;
	right: 0;
	top: 100%;
	min-width: 16rem;
	margin-top: 0.35rem;
	padding: 0.75rem;
	background: #fff;
	border: 1px solid var(--pq-border);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	z-index: 1001;
}

.plus-quote-mini__list {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
}

.plus-quote-mini__item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--pq-border);
}

.plus-quote-mini__thumb {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
}

.plus-quote-mini__thumb img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	display: block;
	border-radius: 2px;
}

.plus-quote-mini__info {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	flex: 1;
}

.plus-quote-mini__name {
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
	color: inherit;
	text-decoration: none;
}

a.plus-quote-mini__name:hover {
	text-decoration: underline;
	color: var(--pq-accent, #1a5f4a);
}

.plus-quote-mini__qty,
.plus-quote-mini__field {
	display: block;
	font-size: 0.85rem;
	line-height: 1.35;
	opacity: 0.9;
}

.plus-quote-mini__empty {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	opacity: 0.85;
}

.plus-quote-mini__cta {
	display: block;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	background: var(--pq-mini-cta-bg, var(--pq-button-bg, var(--pq-accent))) !important;
	color: var(--pq-mini-cta-text, var(--pq-button-text, #fff)) !important;
	border: none !important;
}

/* Added-to-quote notices */
.plus-quote-notice {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 100000;
	background: var(--pq-notice-bg, var(--pq-accent));
	color: var(--pq-notice-text, #fff);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.plus-quote-notice--top {
	top: 0;
}

.plus-quote-notice--bottom {
	bottom: 0;
}

.plus-quote-notice__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 0.85rem 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.plus-quote-notice__text {
	margin: 0;
	flex: 1 1 12rem;
}

.plus-quote-notice__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.plus-quote-notice__btn {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	background: rgba(255, 255, 255, 0.18);
	color: inherit !important;
	text-decoration: none !important;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 3px;
	font-size: 0.9rem;
}

.plus-quote-notice__dismiss {
	margin-left: auto;
	background: transparent;
	border: none;
	color: inherit;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	padding: 0 0.25rem;
}

.plus-quote-notice-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	background: rgba(15, 23, 42, 0.68);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.plus-quote-notice-modal__dialog {
	position: relative;
	background: #fff;
	color: var(--pq-text, #1f2328);
	max-width: 40rem;
	width: 100%;
	box-sizing: border-box;
	padding: clamp(1.75rem, 5vw, 2.75rem);
	border: 1px solid rgba(23, 50, 77, 0.1);
	border-radius: 20px;
	text-align: center;
	box-shadow: 0 28px 75px rgba(15, 23, 42, 0.32);
	animation: plus-quote-modal-enter 0.24s ease-out both;
}

@keyframes plus-quote-modal-enter {
	from { opacity: 0; transform: translateY(14px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.plus-quote-notice-modal__icon {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: #e8f7ef;
	color: #137a45;
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1;
	box-shadow: inset 0 0 0 2px rgba(19, 122, 69, 0.12);
}

.plus-quote-notice-modal__title {
	margin: 0 0 0.65rem;
	color: var(--pq-button-bg, #17324d);
	font-size: clamp(1.65rem, 4vw, 2.15rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.plus-quote-notice-modal__text {
	margin: 0 0 0.65rem;
	color: #334155;
	font-size: clamp(1.1rem, 2.5vw, 1.3rem);
	font-weight: 700;
	line-height: 1.45;
}

.plus-quote-notice-modal__hint {
	max-width: 29rem;
	margin: 0 auto 1.5rem;
	color: #64748b;
	font-size: clamp(1.2rem, 2.8vw, 1.4rem);
	line-height: 1.55;
}

.plus-quote-notice-modal .plus-quote-notice__actions {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.plus-quote-notice-modal .plus-quote-notice__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	box-sizing: border-box;
	padding: 0.95rem 1.25rem;
	border: 2px solid transparent;
	border-radius: var(--pq-button-radius, 10px);
	font-size: clamp(1.15rem, 2.5vw, 1.3rem);
	font-weight: 800;
	line-height: 1.2;
	transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.plus-quote-notice-modal .plus-quote-notice__btn:hover {
	transform: translateY(-2px);
}

.plus-quote-notice-modal .plus-quote-notice__btn--cart {
	background: #16834d;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(22, 131, 77, 0.25);
}

.plus-quote-notice-modal .plus-quote-notice__btn--cart:hover {
	background: #106b3e;
	color: #fff !important;
}

.plus-quote-notice-modal .plus-quote-notice__btn--continue {
	border-color: var(--pq-button-bg, #17324d);
	background: #fff;
	color: var(--pq-button-bg, #17324d) !important;
}

.plus-quote-notice-modal .plus-quote-notice__btn--continue:hover {
	background: #eef3f7;
}

.plus-quote-notice-modal__close {
	min-width: 120px;
	min-height: 48px;
	padding: 0.7rem 1.3rem;
	border: 1px solid #cbd5e1;
	border-radius: var(--pq-button-radius, 10px);
	background: #f1f5f9;
	color: #475569;
	cursor: pointer;
	font-size: clamp(1.05rem, 2.2vw, 1.15rem);
	font-weight: 700;
	transition: background 0.18s, color 0.18s;
}

.plus-quote-notice-modal__close:hover {
	background: #e2e8f0;
	color: #1e293b;
}

@media (max-width: 520px) {
	.plus-quote-notice-modal {
		align-items: flex-end;
		padding: 0.75rem;
	}
	.plus-quote-notice-modal__dialog {
		padding: 1.5rem 1.15rem;
		border-radius: 18px;
	}
	.plus-quote-notice-modal .plus-quote-notice__actions {
		grid-template-columns: 1fr;
	}
	.plus-quote-notice-modal__close {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.plus-quote-notice-modal__dialog {
		animation: none;
	}
}

.plus-quote-cart__item {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	align-items: stretch;
	padding: 1rem;
	background: #fff;
	border: 1px solid var(--pq-border, #d0d7de);
	border-radius: 6px;
	box-sizing: border-box;
}

.plus-quote-cart__row {
	gap: 0.85rem 1rem;
	align-items: start;
}

.plus-quote-cart__row.is-sizing-equal {
	display: grid;
	grid-template-columns: repeat(var(--pq-row-cols, 1), minmax(0, 1fr));
}

.plus-quote-cart__row.is-sizing-equal:has(.plus-quote-cart__column--actions) {
	grid-template-columns: repeat(calc(var(--pq-row-cols, 1) - 1), minmax(0, 1fr)) auto;
}

.plus-quote-cart__row.is-sizing-auto {
	display: flex;
	flex-wrap: wrap;
}

.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__column {
	flex: 0 1 auto;
	width: auto;
	max-width: 100%;
}

.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__cell--image,
.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__cell--actions {
	flex: 0 0 auto;
}

.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__field,
.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__qty,
.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__actions {
	width: max-content;
	max-width: 100%;
}

.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__field .plus-quote-field-control,
.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__qty .qty,
.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__qty-input {
	width: auto;
	min-width: 4.5rem;
	max-width: 100%;
}

/* Fill remaining row width: image/qty/actions stay natural; product/fields grow. */
.plus-quote-cart__row.is-sizing-fill {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	align-items: start;
}

.plus-quote-cart__row.is-sizing-fill .plus-quote-cart__column {
	flex: 0 0 auto;
	width: auto;
	max-width: 100%;
}

.plus-quote-cart__row.is-sizing-fill .plus-quote-cart__column--grow {
	flex: 1 1 0;
	min-width: 0;
	width: auto;
}

.plus-quote-cart__row.is-sizing-fill .plus-quote-cart__column--grow .plus-quote-cart__header,
.plus-quote-cart__row.is-sizing-fill .plus-quote-cart__column--grow .plus-quote-cart__field,
.plus-quote-cart__row.is-sizing-fill .plus-quote-cart__column--grow .plus-quote-field-control {
	width: 100%;
	max-width: 100%;
}

.plus-quote-cart__row.is-sizing-fill .plus-quote-cart__column--actions {
	margin-left: 0;
}

.plus-quote-cart__column {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	min-width: 0;
	box-sizing: border-box;
}

.plus-quote-cart__cell {
	min-width: 0;
	box-sizing: border-box;
	/* Isolate slot CSS variables so one cell never leaks styles to siblings. */
	--pq-slot-label-size: initial;
	--pq-slot-label-color: initial;
	--pq-slot-label-font: initial;
	--pq-slot-label-align: initial;
	--pq-slot-field-size: initial;
	--pq-slot-field-color: initial;
	--pq-slot-field-font: initial;
	--pq-slot-field-align: initial;
	--pq-slot-img-width: initial;
	--pq-slot-img-height: initial;
}

.plus-quote-cart__cell--image {
	flex: 0 0 auto;
	max-width: none;
}

.plus-quote-cart__cell--image .plus-quote-cart__thumb {
	width: var(--pq-slot-img-width, 80px);
	height: var(--pq-slot-img-height, 80px);
	max-width: 100%;
}

.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__column--actions {
	flex: 0 0 auto;
	margin-left: auto;
	width: auto;
	max-width: none;
}

.plus-quote-cart__row.is-sizing-equal .plus-quote-cart__column--actions {
	justify-self: end;
}

.plus-quote-cart__cell--actions {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
}

.plus-quote-cart__column--actions .plus-quote-cart__cell--actions {
	width: 100%;
}

.plus-quote-cart__cell .plus-quote-cart__qty-label,
.plus-quote-cart__cell .plus-quote-cart__field > label,
.plus-quote-cart__cell .plus-quote-cart__name {
	font-size: var(--pq-slot-label-size, unset);
	color: var(--pq-slot-label-color, unset);
	font-family: var(--pq-slot-label-font, unset);
	text-align: var(--pq-slot-label-align, unset);
}

.plus-quote-cart__cell input,
.plus-quote-cart__cell select,
.plus-quote-cart__cell textarea,
.plus-quote-cart__cell .qty,
.plus-quote-cart__cell .plus-quote-cart__sku,
.plus-quote-cart__cell .button {
	font-size: var(--pq-slot-field-size, unset);
	color: var(--pq-slot-field-color, unset);
	font-family: var(--pq-slot-field-font, unset);
	text-align: var(--pq-slot-field-align, unset);
}

.plus-quote-cart__item.is-saving {
	opacity: 0.7;
	pointer-events: none;
}

.plus-quote-cart__thumb {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.plus-quote-cart__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.plus-quote-cart__header {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.plus-quote-cart__name {
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 1.3;
	color: inherit;
	text-decoration: none;
}

a.plus-quote-cart__name:hover {
	color: var(--pq-accent, #1a5f4a);
	text-decoration: underline;
}

.plus-quote-cart__sku {
	font-size: 0.85rem;
	opacity: 0.75;
}

.plus-quote-cart__controls {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.plus-quote-cart__qty-label {
	display: block;
	font-size: 0.9rem;
}

.plus-quote-cart__qty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	width: 100%;
}

.plus-quote-cart__qty .plus-quote-qty,
.plus-quote-cart__qty .quantity {
	display: inline-block;
	margin: 0;
	visibility: visible;
}

.plus-quote-cart__qty-input,
.plus-quote-cart__field-input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.5rem 0.65rem;
	min-height: 2.5rem;
	border: 1px solid var(--pq-border, #d0d7de);
	border-radius: 4px;
	font: inherit;
	background: #fff;
}

.plus-quote-cart__fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 0.75rem;
}

.plus-quote-cart__field {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.plus-quote-cart__field.is-readonly .plus-quote-field-control,
.plus-quote-field-control.is-readonly {
	opacity: 0.85;
	background: color-mix(in srgb, var(--pq-surface, #f6f8fa) 70%, #fff);
	cursor: default;
}

.plus-quote-cart__field label {
	font-size: 0.9rem;
}

.plus-quote-cart__actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
	justify-content: flex-end;
}

.plus-quote-cart__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	margin: 0;
	padding: 0;
	border-radius: var(--pq-button-radius, 10px);
	line-height: 1;
	cursor: pointer;
	flex: 0 0 auto;
}

.plus-quote-cart__icon {
	display: block;
	flex: 0 0 auto;
}

.plus-quote-cart__save.plus-quote-cart__icon-btn {
	background: var(--pq-button-bg, var(--pq-accent, #1a5f4a));
	color: var(--pq-button-text, #fff);
	border: 0;
}

.plus-quote-cart__save.plus-quote-cart__icon-btn[hidden] {
	display: none !important;
}

.plus-quote-cart__remove.plus-quote-cart__icon-btn {
	border: 1px solid color-mix(in srgb, #b42318 35%, transparent);
	background: #fff;
	color: #b42318;
}

.plus-quote-cart__remove.plus-quote-cart__icon-btn:hover,
.plus-quote-cart__remove.plus-quote-cart__icon-btn:focus {
	background: #b42318;
	color: #fff;
	border-color: #b42318;
}

.plus-quote-cart__empty {
	margin: 0;
	padding: 1.25rem;
	background: var(--pq-surface, #f6f8fa);
	border-radius: 6px;
}

@media (max-width: 640px) {
	.plus-quote-cart__row.is-sizing-equal {
		grid-template-columns: 1fr;
	}

	.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__column {
		flex: 1 1 100%;
	}

	.plus-quote-cart__row.is-sizing-fill {
		flex-wrap: wrap;
	}

	.plus-quote-cart__row.is-sizing-fill .plus-quote-cart__column {
		flex: 1 1 100%;
	}

	.plus-quote-cart__row.is-sizing-fill .plus-quote-cart__column--grow {
		flex: 1 1 100%;
	}

	.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__column--actions,
	.plus-quote-cart__row.is-sizing-fill .plus-quote-cart__column--actions {
		flex: 0 0 auto;
		margin-left: auto;
		width: auto;
	}

	.plus-quote-cart__cell--image {
		max-width: none;
	}

	.plus-quote-cart__cell--actions {
		justify-content: flex-end;
	}

	.plus-quote-cart__actions {
		flex-direction: row;
		flex-wrap: wrap;
		width: auto;
	}

	.plus-quote-cart__thumb {
		width: 64px;
		height: 64px;
	}

	.plus-quote-cart__qty-label {
		max-width: none;
	}
}

/* Phase 2: product fields + quote page layout */
.plus-quote-product-controls {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	margin: 0.75rem 0;
	padding: 0;
	border: none;
	background: transparent;
	color: inherit;
	width: 100%;
	box-sizing: border-box;
}

.plus-quote-fields {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 0.35rem;
}

.plus-quote-fields__row {
	margin: 0 0 0.5rem;
	width: 100%;
}

.plus-quote-fields__row label {
	display: block;
	margin-bottom: 0.25rem;
}

.plus-quote-fields__input {
	display: block;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
	padding: 0.4rem;
	border: 1px solid var(--pq-border, #d0d7de);
}

.plus-quote-add {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	width: auto;
	height: auto;
	min-height: 0;
	margin-top: 0.25rem;
	padding: 0.55rem 1.1rem;
	background: var(--pq-button-bg, var(--pq-accent, #1a5f4a));
	color: var(--pq-button-text, #fff);
	line-height: 1.25;
	flex: 0 0 auto;
}

/* Native WooCommerce quantity (theme plus/minus); do not restyle chrome */
.plus-quote-product-controls .plus-quote-qty,
.plus-quote-product-controls .quantity {
	display: inline-block;
	margin: 0 0 0.5rem;
	visibility: visible;
}

/* Normalize the third-party +/- quantity control in every Plus Quote context.
   Reset theme margins and use one shared gap so the input is equally spaced
   from the minus and plus buttons. */
.plus-quote-product-controls .qib-button-wrapper {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.4rem !important;
	margin: 0 0 0.5rem !important;
}
.plus-quote-product-controls .qib-button-wrapper > .qib-button,
.plus-quote-product-controls .qib-button-wrapper > .quantity,
.plus-quote-product-controls .qib-button-wrapper .quantity input.qty {
	margin: 0 !important;
}

.woocommerce.single-product .plus-quote-product-controls,
.woocommerce.single-product .plus-quote-fields,
.woocommerce.single-product .plus-quote-fields__row {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.plus-quote-page {
	display: grid;
	gap: 1.5rem;
	color: var(--pq-text, #1f2328);
}

.plus-quote-page__hint {
	font-size: 0.85rem;
	opacity: 0.75;
}

.plus-quote-page__block {
	padding: 1rem;
	background: var(--pq-surface, #f6f8fa);
	border-left: 3px solid var(--pq-accent, #1a5f4a);
}

.plus-quote-page--order-title-cart-form {
	grid-template-areas: "title" "cart" "form";
}
.plus-quote-page--order-title-form-cart {
	grid-template-areas: "title" "form" "cart";
}
.plus-quote-page--order-cart-title-form {
	grid-template-areas: "cart" "title" "form";
}
.plus-quote-page--order-cart-form-title {
	grid-template-areas: "cart" "form" "title";
}
.plus-quote-page--order-form-title-cart {
	grid-template-areas: "form" "title" "cart";
}
.plus-quote-page--order-form-cart-title {
	grid-template-areas: "form" "cart" "title";
}

.plus-quote-page__title { grid-area: title; }
.plus-quote-page__cart { grid-area: cart; }
.plus-quote-page__form { grid-area: form; }

/* Break out of theme .container / column wrappers so page width settings apply. */
.plus-quote-page-shell {
	position: relative;
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	margin-top: clamp(1.25rem, 3vw, 2.5rem);
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-inline: clamp(0.75rem, 3vw, 2rem);
}

/* Modern Corporate Warm experience */
.plus-quote-page--builder {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--pq-page-max, 1180px);
	margin: 0 auto;
	padding-inline: 0;
	color: var(--pq-text, #273444);
}
.plus-quote-page--builder.is-width-full {
	max-width: none !important;
	width: 100% !important;
}
.plus-quote-page--builder.is-width-custom,
.plus-quote-page--builder.is-width-boxed {
	margin-left: auto;
	margin-right: auto;
}

/* When the theme already uses full-width content, avoid double horizontal shift. */
body.plus-quote--width-full .plus-quote-page-shell.is-width-full {
	padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.plus-quote-layout-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1rem, 2.5vw, 2rem);
	margin-bottom: clamp(1rem, 2.5vw, 2rem);
	align-items: start;
}
.plus-quote-layout-column { display: flex; min-width: 0; flex-direction: column; gap: 1.25rem; }

.plus-quote-layout-block {
	padding: clamp(1.15rem, 3vw, 2rem);
	border: 1px solid color-mix(in srgb, var(--pq-text, #273444) 13%, transparent);
	border-radius: var(--pq-card-radius, 16px);
	background: #fff;
	box-shadow: 0 12px 35px rgba(23, 50, 77, .08);
}
.plus-quote-layout-block.is-plain { padding: .5rem 0; border: 0; box-shadow: none; background: transparent; }
.plus-quote-layout-block.is-soft { background: var(--pq-surface, #fff8f1); }
.plus-quote-layout-block.is-accent {
	border: 0;
	background: linear-gradient(125deg, var(--pq-button-bg, #17324d), color-mix(in srgb, var(--pq-button-bg, #17324d) 78%, #fff));
	color: #fff;
}
.plus-quote-layout-block.has-align-left { text-align: left; }
.plus-quote-layout-block.has-align-left .plus-quote-layout-block__title { text-align: left; }
.plus-quote-layout-block.has-align-center { text-align: center; }
.plus-quote-layout-block.has-align-right { text-align: right; }
.plus-quote-layout-block__title { margin: 0 0 .65rem; color: inherit; line-height: 1.15; letter-spacing: -.025em; }
.plus-quote-layout-block__content { margin-bottom: 1rem; opacity: .86; line-height: 1.65; }

.plus-quote-cart__item {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1rem;
	border: 1px solid rgba(23, 50, 77, .12);
	border-radius: calc(var(--pq-card-radius, 16px) - 4px);
	background: #fff;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.plus-quote-cart__item:hover {
	border-color: color-mix(in srgb, var(--pq-accent, #c96b3b) 55%, transparent);
	box-shadow: 0 10px 28px rgba(23, 50, 77, .09);
	transform: translateY(-1px);
}
.plus-quote-cart__row {
	gap: 0.75rem 1rem;
	align-items: start;
}
.plus-quote-cart__thumb { border-radius: 10px; object-fit: cover; }
.plus-quote-cart__name { color: var(--pq-button-bg, #17324d); font-size: 1.04rem; font-weight: 750; }
.plus-quote-cart__sku { display: block; margin-top: .25rem; color: #64748b; font-size: .78rem; }
.plus-quote-cart__field { margin: 0; }

.plus-quote-field-control:not([type=checkbox]):not([type=radio]),
.plus-quote-form input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),
.plus-quote-form select,
.plus-quote-form textarea,
.plus-quote-provider--contact_form_7 input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),
.plus-quote-provider--contact_form_7 select,
.plus-quote-provider--contact_form_7 textarea {
	width: 100%;
	min-height: 46px;
	box-sizing: border-box;
	padding: .7rem .85rem;
	border: 1px solid #cbd5e1;
	border-radius: var(--pq-field-radius, 10px);
	background: #fff;
	color: var(--pq-text, #273444);
	transition: border-color .2s, box-shadow .2s;
}

.plus-quote-form input[type=checkbox],
.plus-quote-form input[type=radio],
.plus-quote-provider--contact_form_7 input[type=checkbox],
.plus-quote-provider--contact_form_7 input[type=radio],
.plus-quote-field-control[type=checkbox],
.plus-quote-field-control[type=radio],
.plus-quote-provider--contact_form_7 .wpcf7-acceptance input[type=checkbox],
.plus-quote-provider--contact_form_7 .wpcf7-list-item input[type=checkbox] {
	width: 1.1rem !important;
	max-width: 1.1rem !important;
	min-width: 1.1rem !important;
	height: 1.1rem !important;
	min-height: 1.1rem !important;
	margin: 0.15rem 0.45rem 0 0 !important;
	padding: 0 !important;
	border-radius: 3px !important;
	vertical-align: middle !important;
	flex: 0 0 auto !important;
	box-shadow: none !important;
	appearance: auto;
	-webkit-appearance: checkbox;
}

.plus-quote-provider--contact_form_7 .wpcf7-acceptance,
.plus-quote-provider--contact_form_7 .wpcf7-list-item {
	display: flex !important;
	align-items: flex-start;
	gap: 0.45rem;
	width: auto !important;
	max-width: 100%;
	min-height: 0 !important;
}

.plus-quote-provider--contact_form_7 .wpcf7-list-item-label {
	line-height: 1.4;
	width: auto;
}
.plus-quote-field-control:not([type=checkbox]):not([type=radio]):focus,
.plus-quote-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):focus,
.plus-quote-form textarea:focus,
.plus-quote-provider--contact_form_7 input:not([type=checkbox]):not([type=radio]):not([type=submit]):focus,
.plus-quote-provider--contact_form_7 textarea:focus {
	border-color: var(--pq-accent, #c96b3b);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pq-accent, #c96b3b) 20%, transparent);
	outline: none;
}

.plus-quote-add,
.plus-quote-form button[type=submit],
.plus-quote-mini__cta,
.plus-quote-provider--contact_form_7 input[type=submit] {
	min-height: 44px;
	padding: .72rem 1.1rem;
	border: 0;
	border-radius: var(--pq-button-radius, 10px);
	background: var(--pq-button-bg, #17324d);
	color: var(--pq-button-text, #fff);
	font-weight: 750;
	box-shadow: 0 8px 18px rgba(23, 50, 77, .16);
	transition: transform .18s, box-shadow .18s, filter .18s;
}
.plus-quote-add:hover,
.plus-quote-form button[type=submit]:hover,
.plus-quote-mini__cta:hover,
.plus-quote-provider--contact_form_7 input[type=submit]:hover {
	color: var(--pq-button-text, #fff);
	filter: brightness(1.08);
	transform: translateY(-1px);
	box-shadow: 0 11px 24px rgba(23, 50, 77, .22);
}
.plus-quote-add:focus-visible,
.plus-quote-form button[type=submit]:focus-visible,
.plus-quote-mini__toggle:focus-visible,
.plus-quote-mini__cta:focus-visible,
.plus-quote-provider--contact_form_7 input[type=submit]:focus-visible,
.plus-quote-cart button:focus-visible,
.plus-quote-cart a:focus-visible {
	outline: 3px solid var(--pq-accent, #c96b3b);
	outline-offset: 3px;
}

.plus-quote-product-controls {
	display: flex;
	flex-direction: column;
	margin-top: 1rem;
	padding: 1rem;
	border: 1px solid rgba(23, 50, 77, .12);
	border-radius: var(--pq-card-radius, 16px);
	background: var(--pq-surface, #fff8f1);
}
.plus-quote-fields__row label { display: block; margin-bottom: .35rem; color: var(--pq-text, #273444); font-weight: 650; }
.plus-quote-mini__toggle {
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	padding: 0.15rem 0.25rem;
}

/* Keep the quote-cart icon container visually neutral even when the theme
   applies button/widget hover effects, borders, shadows or animations. */
.plus-quote-mini.widget_proinco_quote_mini {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	animation: none !important;
	transform: none !important;
	transition: none !important;
}
.plus-quote-mini__toggle,
.plus-quote-mini__toggle:hover,
.plus-quote-mini__toggle:active,
.plus-quote-mini__toggle:focus {
	appearance: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	animation: none !important;
	filter: none !important;
	transform: none !important;
	transition: none !important;
}
.plus-quote-mini__icon,
.plus-quote-mini__icon-img {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	animation: none !important;
	filter: none !important;
	transform: none !important;
	transition: none !important;
}
.plus-quote-mini__icon {
	position: relative;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.plus-quote-mini__icon::before,
.plus-quote-mini__icon::after {
	position: absolute;
	left: 24%;
	width: 52%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	content: "";
	box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
}
.plus-quote-mini__icon::before { top: 25%; }
.plus-quote-mini__icon::after {
	right: 20%;
	bottom: 18%;
	left: auto;
	width: 22%;
	height: 22%;
	border-radius: 50%;
	background: var(--pq-accent, #c96b3b);
	box-shadow: 0 0 0 2px currentColor;
}
.plus-quote-mini__badge { background: var(--pq-accent, #c96b3b); box-shadow: none; }
.plus-quote-mini__panel { min-width: min(360px, 88vw); padding: 1rem; border: 0; border-radius: var(--pq-card-radius, 16px); box-shadow: 0 18px 45px rgba(23,50,77,.2); }
.plus-quote-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.plus-quote-summary span { padding: 1rem; border-radius: 12px; background: var(--pq-surface, #fff8f1); }
.plus-quote-summary strong { display: block; margin-top: .25rem; color: var(--pq-accent, #c96b3b); font-size: 1.7rem; }

@media (max-width: 782px) {
	.plus-quote-layout-row,
	.plus-quote-layout-row--cols-2,
	.plus-quote-layout-row--cols-3 {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.plus-quote-cart__row.is-sizing-equal {
		grid-template-columns: 1fr;
	}
	.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__column {
		flex: 1 1 100%;
	}
	.plus-quote-cart__row.is-sizing-fill {
		flex-wrap: wrap;
	}
	.plus-quote-cart__row.is-sizing-fill .plus-quote-cart__column,
	.plus-quote-cart__row.is-sizing-fill .plus-quote-cart__column--grow {
		flex: 1 1 100%;
	}
	.plus-quote-cart__row.is-sizing-auto .plus-quote-cart__column--actions,
	.plus-quote-cart__row.is-sizing-fill .plus-quote-cart__column--actions {
		flex: 0 0 auto;
		margin-left: auto;
		width: auto;
	}
	.plus-quote-cart__cell--actions {
		justify-content: flex-end;
	}
}

@media (prefers-reduced-motion: reduce) {
	.plus-quote-cart__item,
	.plus-quote-add,
	.plus-quote-form button,
	.plus-quote-mini__cta { transition: none !important; }
}

