/* Product panel (modules/product-panel). Overrides of legacy theme / inline
   styles are scoped under #igp so they win on specificity. */

#igp {
	--igp-blue: #1e73e8;
	--igp-blue-bg: #eaf3ff;
	--igp-green: #1f9d3a;
	--igp-green-bg: #eef8ef;
	--igp-border: #dfe4ea;
	--igp-text: #1f2937;
	--igp-muted: #6b7280;
	--igp-radius: 10px;
	clear: both;
	margin: 16px 0 24px;
	padding: 20px;
	border: 1px solid var(--igp-border);
	border-radius: 14px;
	background: #fff;
	color: var(--igp-text);
	font-size: 15px;
	line-height: 1.45;
	box-sizing: border-box;
}

#igp *,
#igp *::before,
#igp *::after {
	box-sizing: border-box;
}

#igp [hidden] {
	display: none !important;
}

#igp .igp-title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 600;
	color: var(--igp-text);
}

#igp .igp-label {
	margin: 18px 0 10px;
	font-size: 16px;
	font-weight: 600;
	color: var(--igp-text);
}

#igp .igp-sr-only,
#igp .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Mode switch ---------- */

#igp .igp-modes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 4px;
}

#igp .igp-mode {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--igp-border);
	border-radius: var(--igp-radius);
	background: #fff;
	cursor: pointer;
	font-weight: normal;
	transition: border-color .15s, background .15s, box-shadow .15s;
}

#igp .igp-mode input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

#igp .igp-mode-dot {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border: 2px solid #b8c0ca;
	border-radius: 50%;
	background: #fff;
}

#igp .igp-mode.is-active {
	border-color: var(--igp-blue);
	background: var(--igp-blue-bg);
	box-shadow: 0 0 0 1px var(--igp-blue);
}

#igp .igp-mode.is-active .igp-mode-dot {
	border-color: var(--igp-blue);
	background: radial-gradient(circle, var(--igp-blue) 0 5px, #fff 6px);
}

#igp .igp-mode input:focus-visible + .igp-mode-dot {
	outline: 2px solid var(--igp-blue);
	outline-offset: 2px;
}

#igp .igp-mode-text strong {
	display: block;
	font-size: 17px;
	font-weight: 600;
}

#igp .igp-mode-text small {
	display: block;
	font-size: 14px;
	color: var(--igp-muted);
}

/* ---------- Standard: price ---------- */

#igp .igp-price {
	margin: 16px 0 4px;
}

#igp .igp-price .woocommerce-variation-price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
}

#igp .igp-price .price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0 8px;
	margin: 0;
	padding-right: 18px;
	border-right: 1px solid var(--igp-border);
	color: var(--igp-text) !important;
}

#igp .igp-price del {
	flex-basis: 100%;
	color: var(--igp-muted);
	font-size: 15px;
	opacity: 1;
}

#igp .igp-price del:has(#regular_pro_price:empty) {
	display: none;
}

#igp .igp-price ins {
	text-decoration: none;
	font-size: 30px;
	font-weight: 700;
	background: none;
}

#igp .igp-price .igp-per {
	font-size: 18px;
	font-weight: 600;
}

#igp .igp-vat {
	display: flex;
	flex-direction: column;
	font-size: 14px;
}

#igp .igp-vat-excl {
	color: var(--igp-muted);
}

#igp #pro_price_incl_vat_wrap {
	color: var(--igp-green) !important;
}

#igp .igp-retail {
	display: inline-block;
	margin-top: 8px;
	color: #212121;
}

#igp .igp-retail span {
	padding: 0 5px;
	background: #fffd00;
	text-decoration: underline;
}

/* ---------- Variant swatches (both panes) ---------- */

#igp .igp-variants {
	margin-top: 22px;
	padding-top: 4px;
}

#igp .igp-variants .igp-label {
	margin-top: 0;
}

#igp .igp-carousel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
}

#igp .igp-swatches {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	flex: 1;
	min-width: 0;
}

#igp .igp-swatches--scroll {
	grid-auto-flow: column;
	grid-template-columns: none;
	grid-auto-columns: calc((100% - 20px) / 3);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	/* A scrolling strip clips what sticks out of it: room for the check badge
	   (top/right -8px) and the active ring, and snap to that padding. */
	padding: 10px 10px 4px 4px;
	scroll-padding-inline: 4px 10px;
	scrollbar-width: none;
}

#igp .igp-swatches--scroll::-webkit-scrollbar {
	display: none;
}

#igp .igp-swatch {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 8px 6px 10px;
	border: 1px solid var(--igp-border);
	border-radius: var(--igp-radius);
	background: #fff;
	color: var(--igp-text);
	font-size: 14px;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	scroll-snap-align: start;
	transition: border-color .15s, box-shadow .15s;
}

#igp .igp-swatch:hover {
	border-color: #b8c0ca;
}

#igp .igp-swatch.is-active {
	border-color: var(--igp-blue);
	box-shadow: inset 0 0 0 1px var(--igp-blue);
	background: var(--igp-blue-bg);
}

#igp .igp-swatch.is-active::after {
	content: "\f00c"; /* Font Awesome check */
	position: absolute;
	top: -8px;
	right: -8px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--igp-green);
	color: #fff;
	font: normal 11px/22px FontAwesome;
	text-align: center;
	z-index: 1;
	box-shadow: 0 0 0 2px #fff;
}

/* The Personalizzato grid doesn't scroll, but leave the same room so a badge
   on the first row never touches the label above. */
#igp .igp-swatches:not(.igp-swatches--scroll) {
	padding-top: 6px;
}

#igp .igp-swatch:focus-visible {
	outline: 2px solid var(--igp-blue);
	outline-offset: 2px;
}

/* Labels like "iGreenCube_Basilikum" come split on "_" into one line per
   part (Settings::swatch_label_html); anywhere-wrap catches the rest. */
#igp .igp-swatch-label {
	display: block;
	max-width: 100%;
	overflow-wrap: anywhere;
}

#igp .igp-swatch-label > span {
	display: block;
}

#igp .igp-swatch-img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
}

#igp .igp-swatch-img img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
}

#igp .igp-swatch-img.is-noimg {
	background: #f3f4f6;
	border-radius: 6px;
}

#igp .igp-car-btn {
	flex: 0 0 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--igp-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

#igp .igp-car-btn:disabled {
	opacity: .25;
	cursor: default;
}

/* Swatches replace the variation dropdown: keep the real select (WooCommerce
   reads it) but out of sight. */
#igp .igp-variants ~ .variations_form table.variations {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

/* ---------- Standard: WooCommerce form ---------- */

#igp form.cart,
#igp .flower_can_right_outer .variations_form.cart,
.flower_can_right_outer #igp .variations_form.cart {
	width: 100% !important;
	margin: 0;
	float: none;
}

#igp .getprice,
#igp .addtocart_pic {
	display: none !important;
}

#igp table.variations {
	width: 100%;
	margin: 12px 0 0;
	border: 0;
}

#igp table.variations td {
	display: block;
	padding: 0;
	border: 0;
}

#igp table.variations select,
#igp .quantity_select select,
#igp .igp-select select,
.qty {
	width: 100% !important;
	height: 46px;
	padding: 0 36px 0 14px;
	border: 1px solid var(--igp-border);
	border-radius: 8px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f2937' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center !important;
	color: var(--igp-text);
	font-size: 15px;
	-webkit-appearance: none;
	appearance: none;
	float: none;
}

#igp .single_variation_wrap {
	margin-top: 14px;
}

#igp .woocommerce-variation-description p {
	margin: 0 0 10px;
	color: var(--igp-muted);
	font-size: 14px;
}

/* Quantity (left) | totals (right), as in the mockup. */
#igp .quantity_select_container {
	display: flex;
	align-items: stretch;
	gap: 18px;
	margin: 6px 0 0;
}

#igp .quantity_select_container .quantity_select {
	flex: 0 0 42%;
	width: 42% !important;
	margin: 0 !important;
}

#igp .quantity_select_container .quantity_select::before {
	content: "Menge";
	display: block;
	margin-bottom: 8px;
	font-size: 16px;
	font-weight: 600;
}

#igp .quantity_select_container .quantity_price {
	flex: 1;
	width: auto;
	padding-left: 18px;
	border-left: 1px solid var(--igp-border);
}

#igp .igp-totals {
	font-size: 15px;
}

#igp .igp-tot-row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 2px 0;
}

#igp .igp-tot-total {
	margin-top: 8px;
	font-size: 19px;
}

#igp .igp-tot-note {
	display: block;
	color: var(--igp-muted);
	font-style: italic;
	font-size: 13px;
}

#igp .single_add_to_cart_button,
#igp .igp-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100% !important;
	min-height: 52px;
	margin: 14px 0 0 !important;
	padding: 12px 18px;
	border: 0;
	border-radius: 8px;
	background: var(--igp-blue) !important;
	color: #fff !important;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
	transition: background .15s;
}

#igp .single_add_to_cart_button:hover,
#igp .igp-btn:hover {
	background: #155fc4 !important;
}

/* "Ottieni il tuo esempio di realizzo" (enable-example products): secondary,
   so "Aggiungi al carrello" stays the main action. */
#igp button.single_add_to_cart_button[name="to-upload-page"] {
	width: 100% !important;
	min-height: 46px;
	border: 2px solid var(--igp-blue);
	background: #fff !important;
	color: var(--igp-blue) !important;
	font-size: 16px;
}

#igp button.single_add_to_cart_button[name="to-upload-page"]:hover {
	background: var(--igp-blue-bg) !important;
}

#igp button.single_add_to_cart_button[name="to-upload-page"] + style + .single_add_to_cart_button,
#igp button.single_add_to_cart_button[name="to-upload-page"] ~ .single_add_to_cart_button {
	margin-top: 10px !important;
}

/* Artwork upload (modules/file-upload) in the Standard form. */
#igp .file_upload-field-wrapper {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 16px 0 0;
	padding: 14px;
	border: 2px dashed #c5ccd4;
	border-radius: var(--igp-radius);
	background: #fafbfc;
}

#igp .file_upload-field-wrapper + br {
	display: none;
}

#igp .file_upload-field-wrapper label {
	margin: 0;
	font-weight: 600;
}

#igp .file_upload-field-wrapper .upload-color {
	background: none;
	padding: 0;
	color: var(--igp-text);
}

#igp .file_upload-field-wrapper input[type="file"] {
	width: 100%;
	font-size: 14px;
	color: var(--igp-muted);
}

#igp .file_upload-field-wrapper input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	border: 1px solid var(--igp-blue);
	border-radius: 6px;
	background: #fff;
	color: var(--igp-blue);
	font-weight: 600;
	cursor: pointer;
}

#igp .file_upload-field-wrapper input[type="file"]::file-selector-button:hover {
	background: var(--igp-blue-bg);
}

#igp .single_add_to_cart_button:disabled,
#igp .single_add_to_cart_button.disabled,
#igp .igp-btn:disabled {
	opacity: .5;
	cursor: not-allowed;
}

#igp .igp-ship {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin: 16px 0 0;
	font-size: 15px;
	text-align: center;
}

#igp .igp-ship-time {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

#igp .igp-ship-time .fa {
	color: var(--igp-green);
	font-size: 22px;
}

#igp .igp-ship-link {
	color: var(--igp-text);
	font-size: 14px;
	text-decoration: underline;
}

#igp .igp-ship-extra {
	margin: 8px 0 0;
	color: var(--igp-muted);
	font-size: 13px;
	text-align: center;
}

#igp .igp-ship-extra:empty {
	display: none;
}



/* ---------- Personalizzato ---------- */

#igp .igp-steps {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 16px 0 4px;
	padding: 0;
	list-style: none;
}

#igp .igp-step-tab {
	margin: 0;
	border-bottom: 3px solid var(--igp-border);
}

#igp .igp-step-tab button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 8px 4px 10px;
	border: 0;
	background: none;
	color: var(--igp-muted);
	font-size: 16px;
	cursor: pointer;
}

#igp .igp-step-tab button:disabled {
	cursor: default;
}

#igp .igp-step-tab button span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #c5ccd4;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

#igp .igp-step-tab.is-active {
	border-bottom-color: var(--igp-green);
}

#igp .igp-step-tab.is-active button {
	color: var(--igp-text);
	font-weight: 600;
}

#igp .igp-step-tab.is-active button span {
	background: var(--igp-green);
}

#igp .igp-qtys {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.8fr);
	gap: 8px;
}

#igp .igp-chip {
	height: 46px;
	padding: 0 6px;
	border: 1px solid var(--igp-border);
	border-radius: 8px;
	background: #fff;
	color: var(--igp-text);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

#igp .igp-chip.is-active {
	border-color: var(--igp-green);
	background: var(--igp-green-bg);
	box-shadow: 0 0 0 1px var(--igp-green);
}

#igp .igp-chip.is-disabled,
#igp .cr-qty.is-disabled {
	opacity: .4;
}

#igp .igp-select {
	display: block;
	margin: 0;
}

#igp .igp-qty-more-wrap.is-active select {
	border-color: var(--igp-green);
	box-shadow: 0 0 0 1px var(--igp-green);
}

#igp .igp-input,
#igp .cr-inputs input,
#igp .cr-inputs textarea {
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--igp-border);
	border-radius: 8px;
	background: #fff;
	font-size: 15px;
}

#igp .cr-qty-custom {
	margin-top: 8px;
}

#igp .igp-hint,
#igp .igp-note-warn {
	margin: 8px 0 0;
	font-size: 14px;
	color: var(--igp-muted);
}

#igp .igp-hint .fa {
	color: var(--igp-green);
}

#igp .igp-note-warn {
	color: #b45309;
}

#igp .igp-type-row {
	display: flex;
	align-items: center;
	gap: 16px;
}

#igp .igp-type-row > :first-child {
	flex: 1;
	min-width: 0;
}

#igp .igp-readonly {
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--igp-border);
	border-radius: 8px;
	background: #fafbfc;
}

#igp .igp-link {
	color: var(--igp-blue);
	text-decoration: underline;
	white-space: nowrap;
}

#igp .igp-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

#igp .igp-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--igp-border);
	border-radius: 8px;
	font-weight: normal;
	font-size: 14px;
	cursor: pointer;
}

/* css/style.css gives every checkbox/radio "margin: 8px 7px 0 10px !important",
   which pushes them below and away from their text. */
#igp input[type="checkbox"],
#igp input[type="radio"] {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 0 !important;
	vertical-align: middle;
	accent-color: var(--igp-green);
}

#igp .igp-pill,
#igp .cr-buyer {
	line-height: 1.3;
}

#igp .igp-pill:has(input:checked) {
	border-color: var(--igp-green);
	background: var(--igp-green-bg);
}

#igp .igp-budget {
	margin: 18px 0 0;
	padding: 14px 16px;
	border-radius: var(--igp-radius);
	background: var(--igp-green-bg);
	text-align: center;
}

#igp .igp-budget-k {
	display: block;
	font-weight: 600;
}

#igp .igp-budget-v {
	margin: 2px 0;
	font-size: 22px;
	color: var(--igp-green);
}

#igp .igp-budget-v strong {
	font-size: 32px;
	font-weight: 700;
}

#igp .igp-budget-for {
	color: var(--igp-muted);
}

#igp .igp-budget-note {
	margin: 12px 0 0;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--igp-border);
	font-size: 14px;
}

#igp .igp-delivery {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 12px 0 0;
	font-size: 14px;
}

#igp .igp-delivery .fa {
	color: var(--igp-blue);
}

#igp .igp-small {
	margin: 8px 0 0;
	color: var(--igp-muted);
	font-size: 14px;
	text-align: center;
}

#igp .igp-green {
	color: var(--igp-green);
	font-weight: 600;
}

#igp .igp-back {
	margin: 12px 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--igp-blue);
	font-size: 14px;
	cursor: pointer;
}

/* Step 2: the configurator's contact markup (Render::buyer_and_upload /
   contact_inputs). The standalone page's CSS is not loaded here. */
#igp .cr-label {
	display: block;
	margin: 16px 0 8px;
	font-weight: 600;
}

/* Buyer type ("Come acquisti?"): same tiles as the standalone configurator
   (custom-requirement.css): three equal boxes, radio hidden, green when picked. */
#igp .cr-buyers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

#igp .cr-buyer {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 12px 6px;
	border: 1px solid var(--igp-border);
	border-radius: var(--igp-radius);
	background: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}

#igp .cr-buyer:hover {
	border-color: var(--igp-green);
}

#igp .cr-buyer input[type="radio"] {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
}

#igp .cr-buyer.is-active {
	border-color: var(--igp-green);
	background: var(--igp-green-bg);
	color: #12833c;
}

#igp .cr-buyer:has(input:focus-visible) {
	outline: 2px solid var(--igp-green);
	outline-offset: 2px;
}

#igp .cr-buyer-note {
	display: flex;
	/* Baseline: the icon sits on the first text line, also when the note wraps. */
	align-items: baseline;
	gap: 8px;
	line-height: 1.45;
	margin: 10px 0 0;
	padding: 11px 13px !important;
	border-radius: var(--igp-radius);
	background: var(--igp-green-bg);
	color: #2b4a37;
	font-size: 13px;
}

#igp .cr-buyer-note .fa {
	flex: 0 0 auto;
	margin: 0;
	font-size: 14px;
	line-height: inherit;
	color: var(--igp-green);
}

#igp .cr-buyer-note span {
	margin: 0;
}

#igp .cr-upload {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin: 14px 0 0;
	padding: 16px;
	border: 2px dashed #c5ccd4;
	border-radius: var(--igp-radius);
	background: #fafbfc;
	font-weight: normal;
	text-align: center;
	cursor: pointer;
}

#igp .cr-upload input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

#igp .cr-upload > .fa {
	font-size: 28px;
	color: var(--igp-blue);
}

#igp .cr-upload-copy {
	display: flex;
	flex-direction: column;
}

#igp .cr-upload-link {
	color: var(--igp-blue);
	text-decoration: underline;
}

#igp .cr-upload small {
	color: var(--igp-muted);
	font-size: 12px;
}

#igp .cr-file-list {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

#igp .cr-file-list li {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 10px;
	border: 1px solid var(--igp-border);
	border-radius: 6px;
	margin-top: 6px;
	font-size: 14px;
}

#igp .cr-file-error {
	margin-top: 8px;
	color: #b91c1c;
	font-size: 14px;
}

#igp .cr-inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 16px;
}

#igp .cr-inputs label {
	margin: 0;
	font-weight: normal;
}

#igp .cr-inputs .cr-full {
	grid-column: 1 / -1;
}

#igp .cr-cap {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 600;
}

#igp .cr-cap .required {
	color: #b91c1c;
}

#igp .g-recaptcha {
	margin-top: 14px;
}

#igp .cr-privacy {
	margin: 12px 0 0;
	color: var(--igp-muted);
	font-size: 13px;
}

#igp .cr-loader {
	display: block;
	margin: 10px auto 0;
}

#igp #cr-results > div {
	margin: 12px 0 0;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
}

#igp #cr-results ul {
	margin: 0;
	padding-left: 18px;
}

#igp #cr-results .error {
	background: #fef2f2;
	color: #991b1b;
}

#igp #cr-results .success {
	background: var(--igp-green-bg);
	color: #14532d;
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
	#igp {
		padding: 14px;
		border-radius: 12px;
	}

	#igp .igp-mode {
		padding: 10px;
		gap: 8px;
	}

	#igp .igp-mode-text strong {
		font-size: 15px;
	}

	#igp .igp-qtys {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	#igp .igp-qty-more-wrap {
		grid-column: 1 / -1;
	}

	#igp .igp-swatches {
		gap: 8px;
	}

	#igp .igp-swatches--scroll {
		grid-auto-columns: calc((100% - 16px) / 2.6);
	}

	#igp .igp-car-btn {
		display: none;
	}

	#igp .quantity_select_container {
		flex-direction: column;
		gap: 12px;
	}

	#igp .quantity_select_container .quantity_select {
		flex: none;
		width: 100% !important;
	}

	#igp .quantity_select_container .quantity_price {
		padding: 12px 0 0;
		border-left: 0;
		border-top: 1px solid var(--igp-border);
	}

	#igp .cr-inputs {
		grid-template-columns: 1fr;
	}

	#igp .cr-buyers {
		grid-template-columns: 1fr;
	}

	#igp .igp-type-row {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
}

/* Short description above the panel (woocommerce/single-product/short-description.php). */
.igp-excerpt {
	clear: both;
	margin: 0 0 20px;
}

.igp-excerpt > :last-child {
	margin-bottom: 0;
}
