/* VestaWall bağımsız sepet — hedef görsel düzeni */
.vesta-cart-page,
.vesta-cart-page * {
	box-sizing: border-box;
}

.vesta-cart-page {
	min-height: 72vh;
	padding: 24px 44px 76px;
	background: #fbf8f3;
	color: #171513;
}

.vesta-cart-page__inner {
	width: min(1590px, 100%);
	margin: 0 auto;
	overflow: visible !important;
}

.vesta-cart-page__header {
	display: block;
	margin: 0 0 18px;
}

.vesta-cart-page__header h1 {
	margin: 0;
	color: #171513;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.1;
}

.vesta-cart-notices:empty {
	display: none;
}

.vesta-cart-notices .woocommerce-message,
.vesta-cart-notices .woocommerce-info,
.vesta-cart-notices .woocommerce-error {
	margin: 0 0 16px !important;
	padding: 13px 17px !important;
	background: #fff !important;
	border: 1px solid #e6dacc !important;
	border-left: 4px solid #ff7900 !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	color: #302a24 !important;
}

.vesta-cart-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 460px;
	gap: 34px;
	align-items: start;
	overflow: visible !important;
}

/* Eski Avada/WooCommerce sepet grid kurallarının yeni düzene sızmasını engeller. */
body.vesta-cart-layout-active .vesta-cart-main-grid > .vesta-standalone-cart-form {
	grid-column: 1 !important;
	grid-row: 1 !important;
	min-width: 0;
	margin: 0 !important;
}

body.vesta-cart-layout-active .vesta-cart-main-grid > .vesta-cart-summary {
	grid-column: 2 !important;
	grid-row: 1 !important;
	align-self: start;
}

.vesta-standalone-cart-form,
.vesta-cart-products,
.vesta-cart-products__body {
	min-width: 0;
}

.vesta-cart-products {
	overflow: visible;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.vesta-cart-products__head,
.vesta-cart-coupon {
	display: none !important;
}

.vesta-cart-products__body {
	display: grid;
	gap: 18px;
}

.vesta-cart-line {
	position: relative;
	display: block;
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0;
	padding: 0;
	overflow: visible !important;
	background: transparent;
	border: 0;
}

.vesta-cart-line__product {
	position: relative;
	display: grid;
	grid-template-columns: 410px minmax(0, 1fr);
	grid-template-rows: 238px auto;
	column-gap: 40px;
	min-width: 0;
}

.vesta-cart-line__product::before {
	content: "";
	z-index: 0;
	display: block;
	grid-column: 1 / -1;
	grid-row: 1;
	background: #fff;
	border: 1px solid #e6dacc;
	border-radius: 17px;
}

.vesta-cart-line__thumbnail {
	z-index: 1;
	display: block;
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	padding: 16px;
}

.vesta-cart-line__thumbnail a {
	display: block;
	width: 100%;
	height: 100%;
}

.vesta-cart-line__thumbnail img,
.vesta-cart-line__thumbnail .vesta-cart-crop-image,
.vesta-cart-line__thumbnail .vesta-cart-original-image {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 206px !important;
	margin: 0 auto !important;
	object-fit: contain;
	background: #f5f0e9;
	border: 0;
	border-radius: 10px;
}

.vesta-cart-line__thumbnail .vesta-cart-original-image {
	width: min(100%, 309px) !important;
	aspect-ratio: 3 / 2;
	object-fit: contain;
}

.vesta-cart-line__content {
	display: contents;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-cart-product-details {
	z-index: 1;
	display: block;
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	min-width: 0;
	padding: 22px 42px 22px 0;
}

.vesta-cart-page .vesta-cart-product-title {
	display: inline-block;
	margin: 0 0 23px;
	color: #111 !important;
	font-family: inherit;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
}

.vesta-cart-page .vesta-cart-product-title:hover {
	color: #ff7900 !important;
}

.vesta-cart-page .vesta-cart-product-meta {
	display: grid;
	gap: 8px;
	margin: 0 0 18px !important;
}

.vesta-cart-page .vesta-cart-product-meta > div {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 12px;
	margin: 0;
}

.vesta-cart-page .vesta-cart-product-meta dt,
.vesta-cart-page .vesta-cart-product-meta dd {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 15px;
	line-height: 1.4;
}

.vesta-cart-page .vesta-cart-product-meta dt {
	font-weight: 800;
}

.vesta-cart-page .vesta-edit-wall-link {
	display: inline-block;
	margin: 0;
	color: #312b25;
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.vesta-cart-line__content > a,
.vesta-cart-line__standard-meta {
	z-index: 1;
	grid-column: 2;
	grid-row: 1;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-config {
	display: block !important;
	grid-column: 1 / -1;
	grid-row: 2;
	width: 100%;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0;
	padding: 19px 16px 16px;
	overflow: visible !important;
	background: #fff;
	border: 1px solid #e6dacc;
	border-radius: 17px;
	visibility: visible !important;
	opacity: 1 !important;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-heading {
	margin: 0;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.25;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-required-copy {
	margin: 5px 0 14px;
	color: #514941;
	font-size: 13px;
	line-height: 1.45;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-options {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 25px;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-option {
	display: block;
	min-width: 0;
	min-height: 338px;
	padding: 17px;
	background: #fff;
	border: 1px solid #dfd2c4;
	border-radius: 12px;
	box-shadow: none;
	transform: none;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-option:hover,
body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-option.is-selected {
	border-color: #ff7900;
	box-shadow: none;
	transform: none;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-option-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.2;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-option-title input {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 25px;
	width: 25px;
	height: 25px;
	margin: 0;
	background: #fff;
	border: 2px solid #bdbdbd;
	border-radius: 50%;
	box-shadow: inset 0 0 0 5px #fff;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-option-title input:checked {
	background: #ff7900;
	border-color: #ff7900;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-preview {
	position: relative;
	display: block;
	width: min(100%, var(--vesta-preview-width, 360px));
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 auto;
	padding: 0;
	overflow: visible;
	background: transparent;
	border: 0;
	border-radius: 4px;
	aspect-ratio: auto !important;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-image-stage {
	position: relative;
	width: 100%;
	aspect-ratio: var(--vesta-wall-ratio, 1.5);
	overflow: visible;
	background: #f5f0e9;
	border-radius: 3px;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-image-stage > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #f5f0e9;
	border-radius: 3px;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-preview--segmented {
	padding-bottom: 25px;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-preview--segmented .vesta-delivery-panels {
	inset: 0;
	display: flex;
	gap: 0;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-preview--segmented .vesta-delivery-panel {
	position: relative;
	display: block;
	min-width: 0;
	border-right: 8px solid #fff;
	box-shadow: none;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-preview--segmented .vesta-delivery-panel:last-child {
	border-right: 0;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-preview--segmented .vesta-delivery-panel b {
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	max-width: none;
	margin: 0;
	padding: 0;
	transform: translateX(-50%);
	overflow: visible;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #111;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	text-overflow: clip;
	white-space: nowrap;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-preview--single {
	padding-bottom: 36px;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-single-label {
	position: absolute;
	left: 10px;
	bottom: 3px;
	width: calc(100% - 20px);
	max-width: none;
	margin: 0;
	padding: 7px 0 0;
	transform: none;
	background: transparent;
	border-top: 1px solid #595959;
	border-radius: 0;
	color: #111;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-single-label::before,
body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-single-label::after {
	content: "";
	position: absolute;
	top: -4px;
	width: 1px;
	height: 8px;
	background: #595959;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-single-label::before {
	left: 0;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-single-label::after {
	right: 0;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-plan-summary {
	margin: 8px 0 0;
	color: #2e2924;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

body.vesta-cart-layout-active .vesta-cart-page [data-format="segmented"] .vesta-delivery-plan-summary {
	font-size: 15px;
	text-align: center;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-installer-note {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 80px;
	margin: 4px 0 0;
	color: #4e473f;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-installer-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 158px;
	width: 158px;
	height: 104px;
}

body.vesta-cart-layout-active .vesta-cart-page .vesta-installer-icon img {
	display: block;
	width: 154px;
	height: auto;
	max-height: 104px;
	object-fit: contain;
}

.vesta-cart-page .vesta-delivery-status {
	min-height: 16px;
	margin: 7px 0 -6px;
	font-size: 12px;
}

.vesta-cart-line__metric {
	display: none !important;
}

.vesta-cart-line__remove {
	position: absolute;
	z-index: 5;
	top: 16px;
	right: 16px;
}

.vesta-cart-line__remove a.remove {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 0 !important;
	background: #f6f1eb !important;
	border-radius: 50%;
	color: #51483f !important;
	font-size: 20px !important;
	line-height: 1 !important;
	text-decoration: none;
}

.vesta-cart-line__remove a.remove:hover {
	background: #d71920 !important;
	color: #fff !important;
}

body.vesta-cart-is-removing,
body.vesta-cart-is-saving {
	overflow: hidden;
}

.vesta-cart-remove-popup[hidden] {
	display: none !important;
}

.vesta-cart-remove-popup {
	position: fixed;
	z-index: 1000000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(25, 20, 16, 0.22);
	backdrop-filter: blur(2px);
}

.vesta-cart-remove-popup__card {
	display: flex;
	align-items: center;
	gap: 14px;
	width: min(100%, 390px);
	min-height: 92px;
	padding: 24px 27px;
	background: #fff;
	border: 1px solid #eadfd3;
	border-radius: 15px;
	box-shadow: 0 18px 55px rgba(46, 35, 25, 0.2);
	color: #241f1a;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.vesta-cart-remove-popup__spinner {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border: 3px solid #f2dfcd;
	border-top-color: #ff7900;
	border-radius: 50%;
	animation: vesta-cart-remove-spin 0.55s linear infinite;
}

@keyframes vesta-cart-remove-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vesta-cart-remove-popup__spinner {
		animation-duration: 1.5s;
	}
}

.vesta-cart-summary {
	position: sticky;
	top: 112px;
	z-index: 5;
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
	padding: 31px 31px 35px;
	background: #fff;
	border: 1px solid #e6dacc;
	border-radius: 17px;
	box-shadow: 0 8px 24px rgba(54,41,27,.025);
}

.vesta-cart-summary__heading {
	display: block;
	padding: 0 0 18px;
	border: 0;
}

.vesta-cart-summary h2 {
	margin: 0;
	color: #171513;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
}

.vesta-cart-summary table {
	display: table !important;
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse !important;
	table-layout: auto !important;
}

.vesta-cart-summary table tbody {
	display: table-row-group !important;
	height: auto !important;
}

.vesta-cart-summary table tr {
	display: table-row !important;
	height: auto !important;
	min-height: 0 !important;
}

.vesta-cart-summary table th,
.vesta-cart-summary table td {
	display: table-cell !important;
	height: auto !important;
	padding: 12px 0 !important;
	background: transparent !important;
	border-width: 0 0 1px !important;
	border-color: #e5ddd4 !important;
	color: #211d19;
	font-size: 16px;
	font-weight: 650;
	line-height: 1.25;
	vertical-align: middle !important;
}

.vesta-cart-summary table th {
	text-align: left;
}

.vesta-cart-summary table td {
	text-align: right;
	font-size: 16px;
	font-weight: 700;
}

.vesta-cart-summary table td .woocommerce-Price-amount,
.vesta-cart-summary table td .woocommerce-Price-currencySymbol,
.vesta-cart-summary table td strong {
	font-size: inherit !important;
	font-weight: inherit !important;
}

.vesta-cart-summary .order-total th,
.vesta-cart-summary .order-total td {
	padding-top: 15px !important;
	padding-bottom: 11px !important;
	border-bottom: 0 !important;
	color: #db111b;
	font-size: 23px;
	font-weight: 850;
}

.vesta-cart-summary .wc-proceed-to-checkout {
	padding: 17px 0 0 !important;
}

.vesta-cart-summary .checkout-button,
.vesta-cart-primary-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 57px;
	margin: 0 !important;
	padding: 12px 20px !important;
	background: linear-gradient(135deg, #ff7600, #ff8500) !important;
	border: 0 !important;
	border-radius: 12px !important;
	box-shadow: none;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	text-transform: none !important;
	cursor: pointer;
	transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.vesta-cart-summary .checkout-button:not(.vesta-delivery-checkout-disabled):hover,
.vesta-cart-primary-button:hover {
	background: linear-gradient(135deg, #e86500, #f47a00) !important;
	box-shadow: 0 10px 24px rgba(232, 101, 0, .28) !important;
	transform: translateY(-2px);
}

.vesta-cart-summary .checkout-button:not(.vesta-delivery-checkout-disabled):active,
.vesta-cart-primary-button:active {
	box-shadow: 0 4px 12px rgba(232, 101, 0, .2) !important;
	transform: translateY(0);
}

.vesta-cart-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px;
	margin-top: 31px;
}

.vesta-cart-trust__item {
	display: flex;
	align-items: center;
	flex-direction: column;
	min-width: 0;
	text-align: center;
}

.vesta-cart-trust__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	margin-bottom: 9px;
	background: #f6f1eb;
	border-radius: 50%;
}

.vesta-cart-trust__icon svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: #1c1a18;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vesta-cart-trust__item strong {
	display: block;
	color: #1e1b18;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.25;
}

.vesta-cart-trust__item small {
	display: block;
	margin-top: 4px;
	color: #6d645c;
	font-size: 10px;
	line-height: 1.25;
}

.vesta-empty-cart {
	max-width: 720px;
	margin: 68px auto;
	padding: 52px 34px;
	background: #fff;
	border: 1px solid #e6dacc;
	border-radius: 20px;
	text-align: center;
}

.vesta-empty-cart__icon {
	display: block;
	margin-bottom: 12px;
	font-size: 42px;
}

.vesta-empty-cart h2 {
	margin: 0 0 8px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
}

.vesta-empty-cart p {
	margin: 0 0 22px;
	color: #6b625a;
}

.vesta-empty-cart .vesta-cart-primary-button {
	max-width: 260px;
	margin: 0 auto !important;
}

.checkout-button.vesta-delivery-checkout-disabled {
	opacity: .5 !important;
	pointer-events: none !important;
}

.vesta-delivery-global-warning {
	margin: 0 0 12px;
	padding: 10px 12px;
	background: #fff3f3;
	border: 1px solid #f1b6b6;
	border-radius: 9px;
	color: #a20f14;
	font-size: 12px;
	font-weight: 700;
}

@media (max-width: 1250px) {
	.vesta-cart-main-grid {
		grid-template-columns: minmax(0, 1fr) 390px;
		gap: 24px;
	}

	.vesta-cart-line__product {
		grid-template-columns: 350px minmax(0, 1fr);
		column-gap: 28px;
	}
}

@media (max-width: 1020px) {
	.vesta-cart-page {
		padding-inline: 24px;
	}

	.vesta-cart-main-grid {
		grid-template-columns: 1fr;
	}

	body.vesta-cart-layout-active .vesta-cart-main-grid > .vesta-standalone-cart-form {
		grid-column: 1 !important;
		grid-row: 1 !important;
	}

	body.vesta-cart-layout-active .vesta-cart-main-grid > .vesta-cart-summary {
		grid-column: 1 !important;
		grid-row: 2 !important;
	}

	.vesta-cart-summary {
		position: static;
		top: auto;
		max-width: none;
	}
}

@media (max-width: 760px) {
	.vesta-cart-page {
		padding: 22px 14px 56px;
	}

	.vesta-cart-page__header h1 {
		font-size: 32px;
	}

	.vesta-cart-line__product {
		grid-template-columns: 1fr;
		grid-template-rows: 214px auto auto;
		column-gap: 0;
	}

	.vesta-cart-line__product::before {
		grid-column: 1;
		grid-row: 1 / 3;
	}

	.vesta-cart-line__thumbnail {
		grid-column: 1;
		grid-row: 1;
		padding: 13px;
	}

	.vesta-cart-line__thumbnail img,
	.vesta-cart-line__thumbnail .vesta-cart-crop-image,
	.vesta-cart-line__thumbnail .vesta-cart-original-image {
		height: auto !important;
		max-height: 188px !important;
	}

	body.vesta-cart-layout-active .vesta-cart-page .vesta-cart-product-details {
		grid-column: 1;
		grid-row: 2;
		padding: 19px 18px 22px;
	}

	body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-config {
		grid-column: 1;
		grid-row: 3;
		padding: 17px 13px 13px;
	}

	body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-options {
		grid-template-columns: 1fr;
		gap: 13px;
	}

	body.vesta-cart-layout-active .vesta-cart-page .vesta-delivery-option {
		min-height: 0;
	}

	body.vesta-cart-layout-active .vesta-cart-page .vesta-installer-icon {
		flex-basis: 138px;
		width: 138px;
	}

	.vesta-cart-summary {
		padding: 25px 20px 28px;
	}
}

@media (max-width: 420px) {
	.vesta-cart-page .vesta-cart-product-meta > div {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.vesta-cart-trust {
		gap: 5px;
	}

	.vesta-cart-trust__icon {
		width: 44px;
		height: 44px;
	}
}

/* ===== v1.6.15 CART: LAPTOP + TABLET + MOBILE SINGLE COLUMN ===== */
/* Large desktop (>1600px) keeps the existing two-column cart. */
@media (max-width: 1600px) {
  .vesta-cart-main-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  body.vesta-cart-layout-active .vesta-cart-main-grid > .vesta-standalone-cart-form {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.vesta-cart-layout-active .vesta-cart-main-grid > .vesta-cart-summary {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    position: static !important;
    top: auto !important;
  }
}


/* ===== v1.6.17 CART: LAPTOP + TABLET + MOBILE ONE COLUMN ===== */
/*
 * The standalone Vesta cart has its own grid in vesta-cart-page.css.
 * Its old single-column breakpoint was only 1020px, so tablet/laptop widths
 * such as 1280/1366/1536px were still rendered as two columns.
 * Use one column through 1600px; desktop above 1600px keeps two columns.
 */
@media (max-width: 1600px) {
  .vesta-cart-main-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  body.vesta-cart-layout-active .vesta-cart-main-grid > .vesta-standalone-cart-form {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  body.vesta-cart-layout-active .vesta-cart-main-grid > .vesta-cart-summary {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    position: static !important;
    top: auto !important;
    align-self: stretch !important;
  }
}

/* ===== v1.6.28 CART ACCESSORIES: COMPACT HALF-WIDTH CARDS ===== */
/* Wallpaper/custom products continue to span the full products column. The
 * three popup accessories use one half of that same column, allowing two
 * compact accessory cards side-by-side. */
.vesta-cart-products__body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vesta-cart-products__body > .vesta-cart-line {
  grid-column: 1 / -1;
}

.vesta-cart-products__body > .vesta-cart-line--accessory {
  grid-column: auto;
  min-width: 0;
}

.vesta-cart-line--accessory .vesta-cart-line__product {
  grid-template-columns: minmax(150px, 42%) minmax(0, 1fr);
  grid-template-rows: 210px;
  column-gap: 0;
  min-height: 210px;
}

.vesta-cart-line--accessory .vesta-cart-line__product::before {
  grid-column: 1 / -1;
  grid-row: 1;
}

.vesta-cart-line--accessory .vesta-cart-line__thumbnail {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 10px 16px 16px;
}

.vesta-cart-line--accessory .vesta-cart-line__thumbnail a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.vesta-cart-line--accessory .vesta-cart-line__thumbnail img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 178px !important;
  margin: auto !important;
  object-fit: contain;
  background: transparent;
}

.vesta-cart-line--accessory .vesta-cart-line__content > .vesta-accessory-product-title {
  z-index: 1;
  display: block;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  margin: 0;
  padding: 18px 50px 18px 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.vesta-cart-line--accessory .vesta-cart-line__standard-meta,
.vesta-cart-line--accessory .vesta-edit-wall-link {
  display: none !important;
}

.vesta-cart-line--accessory .vesta-cart-line__remove {
  top: 14px;
  right: 14px;
}

/* On phones, half-width cards would become too narrow; stack accessories. */
@media (max-width: 760px) {
  .vesta-cart-products__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .vesta-cart-products__body > .vesta-cart-line,
  .vesta-cart-products__body > .vesta-cart-line--accessory {
    grid-column: 1;
  }

  .vesta-cart-line--accessory .vesta-cart-line__product {
    grid-template-columns: 42% minmax(0, 1fr);
    grid-template-rows: 180px;
    min-height: 180px;
  }

  .vesta-cart-line--accessory .vesta-cart-line__product::before {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .vesta-cart-line--accessory .vesta-cart-line__thumbnail {
    grid-column: 1;
    grid-row: 1;
    padding: 13px 8px 13px 13px;
  }

  .vesta-cart-line--accessory .vesta-cart-line__thumbnail img {
    max-height: 154px !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__content > .vesta-accessory-product-title {
    grid-column: 2;
    grid-row: 1;
    padding: 16px 44px 16px 12px;
    font-size: 16px;
  }
}



/* ===== v1.6.29 CART: RESTORE RIGHT TOTALS + 1/4 ACCESSORY CARDS ===== */
/*
 * Desktop/laptop cart returns to two columns:
 *   left = products/shipping configuration
 *   right = sticky Cart Totals
 *
 * The three popup accessory products remain compact and each occupies one
 * quarter of the products grid. Normal wallpaper/custom products still span
 * the full products column.
 */
@media (min-width: 1021px) {
  .vesta-cart-main-grid {
    grid-template-columns: minmax(0, 3fr) minmax(320px, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
  }

  body.vesta-cart-layout-active .vesta-cart-main-grid > .vesta-standalone-cart-form {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  body.vesta-cart-layout-active .vesta-cart-main-grid > .vesta-cart-summary {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    position: sticky !important;
    top: 112px !important;
    align-self: start !important;
  }

  .vesta-cart-products__body {
    /*
     * v1.6.35:
     * Keep two equal tracks in the LEFT cart column.
     * Each accessory card occupies only the first 1/2 track and every
     * accessory is forced onto that same track, so they stack vertically.
     */
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .vesta-cart-products__body > .vesta-cart-line {
    grid-column: 1 / -1 !important;
  }

  .vesta-cart-products__body > .vesta-cart-line--accessory {
    /* Half of the LEFT products column, stacked one under another. */
    grid-column: 1 / 2 !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__product {
    grid-template-columns: 1fr !important;
    grid-template-rows: 132px auto !important;
    min-height: 205px !important;
    column-gap: 0 !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__product::before {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__thumbnail {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 14px 14px 6px !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__thumbnail img {
    max-height: 112px !important;
    max-width: 100% !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__content > .vesta-accessory-product-title {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: start !important;
    padding: 8px 36px 16px 14px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__remove {
    top: 10px !important;
    right: 10px !important;
  }
}

/* Tablet/mobile keeps the stacked cart totals and full-width accessory cards. */
@media (max-width: 1020px) {
  .vesta-cart-products__body {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .vesta-cart-products__body > .vesta-cart-line,
  .vesta-cart-products__body > .vesta-cart-line--accessory {
    /* Half of the LEFT products column, stacked one under another. */
    grid-column: 1 / 2 !important;
  }
}


/* ===== v1.6.36 ACCESSORY CARD: IMAGE LEFT + NAME/PRICE RIGHT ===== */
@media (min-width: 1021px) {
  .vesta-cart-line--accessory .vesta-cart-line__product {
    grid-template-columns: minmax(135px, 38%) minmax(0, 1fr) !important;
    grid-template-rows: 156px !important;
    min-height: 156px !important;
    column-gap: 0 !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__product::before {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__thumbnail {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 10px 14px 14px !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__thumbnail a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__thumbnail img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 126px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__content {
    z-index: 1 !important;
    display: flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding: 18px 46px 18px 12px !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__content > .vesta-accessory-product-title {
    display: block !important;
    grid-column: auto !important;
    grid-row: auto !important;
    align-self: auto !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere !important;
  }

  .vesta-cart-line--accessory .vesta-accessory-product-price {
    display: block !important;
    margin: 0 !important;
    color: #111 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
  }

  .vesta-cart-line--accessory .vesta-accessory-product-price .woocommerce-Price-amount,
  .vesta-cart-line--accessory .vesta-accessory-product-price .woocommerce-Price-currencySymbol {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__remove {
    top: 10px !important;
    right: 10px !important;
  }
}

/* On tablet/mobile keep a compact horizontal card too. */
@media (max-width: 1020px) {
  .vesta-cart-line--accessory .vesta-cart-line__product {
    grid-template-columns: 130px minmax(0, 1fr) !important;
    grid-template-rows: 150px !important;
    min-height: 150px !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__product::before {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__thumbnail {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 12px 8px 12px 12px !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__thumbnail img {
    max-height: 122px !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__content {
    z-index: 1 !important;
    display: flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding: 16px 42px 16px 10px !important;
  }

  .vesta-cart-line--accessory .vesta-cart-line__content > .vesta-accessory-product-title {
    grid-column: auto !important;
    grid-row: auto !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
  }

  .vesta-cart-line--accessory .vesta-accessory-product-price {
    display: block !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }
}
