/* Viking custom cart — [viking_cart] */

.viking-cart-wrap,
.viking-cart-wrap * {
	box-sizing: border-box;
}

.viking-cart-wrap {
	font-family: Montserrat, sans-serif;
	color: #f7f7f7;
}

.vcc-layout {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 24px;
	align-items: stretch;
}

@media (max-width: 1024px) {
	.vcc-layout {
		grid-template-columns: 1fr;
	}
}

/* ---- Left column ---- */
.vcc-col--items {
	min-width: 0;
}

.vcc-items-header {
	display: grid;
	grid-template-columns: 198px minmax(0, 1fr) 72px 120px 90px 90px 30px;
	align-items: center;
	column-gap: 16px;
	padding-bottom: 12px;
	margin-bottom: 8px;
	border-bottom: none;
}

@media (max-width: 1024px) {
	.vcc-items-header {
		display: none;
	}
}

.vcc-head-label {
	font-size: 14px;
	font-weight: 300;
	color: #cececc;
	margin: 0 auto;
}

@media (max-width: 1024px) {
	.vcc-head-label {
		font-size: 12px;
	}
}

.vcc-head-label--price {
	grid-column: 6;
	text-align: right;
	justify-self: end;
}

.vcc-head-label--color,
.vcc-head-label--size,
.vcc-head-label--qty {
	justify-self: start;
}

.vcc-head-label--color {
	grid-column: 3;
}

.vcc-head-label--size {
	grid-column: 4;
}

.vcc-head-label--qty {
	grid-column: 5;
}

/* Rows */
.vcc-rows {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.vcc-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 16px;
	padding: 20px 0;
	border-bottom: none;
}

.vcc-row.is-busy {
	opacity: 0.65;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.vcc-row {
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-rows: auto auto;
		column-gap: 12px;
		row-gap: 12px;
		align-items: start;
	}
}

/* 1 — thumbnail */
.vcc-row-a {
	display: flex;
	align-items: center;
	gap: 0;
	flex: 0 0 auto;
}

@media (max-width: 1024px) {
	.vcc-row-a {
		grid-column: 1;
		grid-row: 1 / span 2;
	}
}

.vcc-thumb-wrap {
	display: block;
	flex: 0 0 auto;
	text-decoration: none;
	color: inherit;
}

.vcc-thumb-bg {
	display: block;
	width: 155px;
	height: 129px;
	background: url('cart-product-thumbnail-bg.png') center / contain no-repeat;
	position: relative;
	overflow: hidden;
}

@media (max-width: 1024px) {
	.vcc-thumb-bg {
		width: 103px;
		height: 102px;
	}
}

.vcc-thumb-bg .vcc-thumb-img,
.vcc-thumb-bg img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}

/* 2 — title, color, size, qty */
.vcc-row-b {
	flex: 1 1 auto;
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 72px 120px 96px;
	align-items: center;
	column-gap: 16px;
	row-gap: 8px;
}

@media (min-width: 1025px) {
	.vcc-row-b .vcc-title {
		grid-column: 1;
		min-width: 0;
	}
}

@media (max-width: 1024px) {
	.vcc-row-b {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		grid-column: 2;
		grid-row: 1;
		width: 100%;
	}
}

.vcc-title {
	margin: 0;
	font-family: "TTMastersRough-Black", sans-serif;
	font-size: 24px !important;
	font-weight: 400;
	line-height: 1.15 !important;
	color: #f7f7f7;
	white-space: normal;
}

@media (max-width: 1024px) {
	.vcc-title {
		font-size: 20px !important;
	}
}

.vcc-title a {
	color: inherit;
	text-decoration: none;
	white-space: normal;
}

.vcc-color-row {
	grid-column: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 300;
}

@media (max-width: 1024px) {
	.vcc-color-row {
		font-size: 12px;
	}
}

.vcc-color-label-text {
	color: #e6e7e6;
	font-weight: 300;
}

.vcc-color-swatch {
	width: 16px;
	height: 16px;
	min-width: 16px;
	border: 1px solid var(--e-global-color-7e5237c, #4f5a39);
	border-radius: 2px;
	background: transparent;
}

.vcc-size-wrap {
	grid-column: 3;
	position: relative;
	width: 120px;
	max-width: 120px;
}

.vcc-size-placeholder {
	display: block;
	min-height: 32px;
}

.vcc-size-dd {
	position: relative;
	width: 120px;
}

.vcc-size-dd-trigger {
	width: 120px;
	height: 28px;
	padding: 0 8px !important;
	border: 1px solid #535549 !important;
	background: transparent !important;
	color: #b5b6b3 !important;
	font-family: Montserrat, sans-serif;
	font-size: 14px !important;
	font-weight: 300 !important;
	line-height: 26px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	cursor: pointer;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.vcc-size-dd-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vcc-size-dd-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 120px;
	margin-top: 0;
	display: none;
	z-index: 12;
	background: rgba(34, 34, 34, 0.5);
}

.vcc-size-wrap.is-open .vcc-size-dd-menu {
	display: block;
}

.vcc-size-dd-option {
	width: 120px;
	height: 28px;
	padding: 0 8px !important;
	border: none !important;
	background: rgba(34, 34, 34, 0.5) !important;
	color: #b5b6b3 !important;
	font-family: Montserrat, sans-serif;
	font-size: 14px !important;
	font-weight: 300 !important;
	line-height: 28px;
	text-align: left;
	cursor: pointer;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.vcc-size-dd-option:hover {
	color: #cececc !important;
}

.vcc-size-dd-option.is-selected,
.vcc-size-dd-option:active {
	color: #e6e7e6 !important;
}

.vcc-size-dd-option.is-hidden {
	display: none !important;
}

@media (max-width: 1024px) {
	.vcc-size-dd-trigger,
	.vcc-size-dd-option {
		font-size: 12px !important;
	}
}

.vcc-size-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background: url(select-arrow-down.svg) center / contain no-repeat;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.vcc-size-wrap.is-open .vcc-size-arrow {
	transform: rotate(180deg);
}

.vcc-size-dd-trigger:focus-visible {
	outline: none;
}

/* Qty — match product page controls */
.vcc-qty {
	grid-column: 4;
	display: inline-flex;
	align-items: center;
	margin-top: 4px;
	border: 1px solid #e1c699;
	width: 96px;
	height: 28px;
	background: var(--e-global-color-688fb89, #edeeeb);
	margin-top: 2px
}

.vcc-qty-btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--e-global-color-688fb89, #edeeeb) !important;
	color: var(--e-global-color-b128501, #2b2b2b) !important;
	cursor: pointer;
	padding: 0 !important;
	border: none;
	line-height: 1;
	font-size: 14px !important;
}

.vcc-qty-value,
.vcc-qty-btn {
	border-top: 1px solid #e1c699 !important;
	border-bottom: 1px solid #e1c699 !important;
}

.vcc-qty-icon {
	display: block;
	width: 20px;
	height: 20px;
}

.vcc-qty-btn:disabled {
	cursor: not-allowed;
	opacity: 1;
}

.vcc-qty-value {
	min-width: 40px;
	text-align: center;
	color: var(--e-global-color-b128501, #2b2b2b);
	background: var(--e-global-color-688fb89, #edeeeb);
	font-size: 14px;
	line-height: 26px;
}

@media (min-width: 1025px) {
	.vcc-row-b .vcc-qty {
		margin-top: 0;
	}
}

/* 3 — remove + line price */
.vcc-row-c {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	flex: 0 0 auto;
	width: auto;
	min-width: 120px;
}

@media (max-width: 1024px) {
	.vcc-row-c {
		grid-column: 3;
		grid-row: 1;
		flex-direction: column;
		align-items: flex-end;
		width: 100%;
		min-width: 0;
	}

	.vcc-row-c .vcc-remove {
		order: 1;
	}

	.vcc-row-c .vcc-line-price {
		order: 2;
	}
}
@media (max-width: 768px) {
	.vcc-row-c .vcc-line-price {
        margin-top: 28px;
    }
}

.vcc-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 37px;
	height: 29px;
	padding: 0 !important;
	margin: 0 !important;
	border: 1px solid #cacdc4 !important;
	border-radius: 0;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	cursor: pointer;
	text-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
	appearance: none;
	-webkit-appearance: none;
}

.vcc-remove:hover {
	background-color: #616b4d33 !important;
}

.vcc-remove:active {
	background-color: #4f5a394d !important;
}

.vcc-remove:focus {
	background-color: #4f5a3980 !important;
	outline: none !important;
}

@media (max-width: 1024px) {
	.vcc-remove {
		width: 27px;
		height: 23px;
	}
}

.vcc-remove img {
	display: block;
	max-width: 100%;
	height: auto;
}

.vcc-line-price {
	font-size: 16px;
	font-weight: 400;
	color: #f7f7f7;
	text-align: right;
}

@media (max-width: 1024px) {
	.vcc-line-price {
		font-size: 14px;
	}
}

.vcc-line-price .amount {
	color: inherit;
	font-size: inherit;
}

/* ---- Right column ---- */
.vcc-col--summary {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 24px 20px 28px 28px;
	background:
		linear-gradient(90deg, rgba(34, 36, 26, 1) 0%, rgba(34, 36, 26, 0) 10%, rgba(34, 36, 26, 0) 90%, rgba(34, 36, 26, 1) 100%),
		linear-gradient(180deg, rgba(34, 36, 26, 1) 0%, rgba(34, 36, 26, 0) 100%),
		linear-gradient(180deg, rgba(34, 36, 26, 0) 0%, rgba(34, 36, 26, 1) 100%),
		url('cart-r-col-bg.jpg') center / cover no-repeat,
		#53554d;
}

@media (min-width: 1025px) {
	.vcc-col--summary {
		align-self: stretch;
		min-height: 100%;
		height: 100%;
	}
}

@media (max-width: 1024px) {
	.vcc-col--summary {
		padding: 28px 20px 24px;
		height: auto;
		min-height: 0;
	}
}

.vcc-col--summary::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 1px;
	background: repeating-linear-gradient(
		to bottom,
		rgba(206, 135, 142, 0.2) 0,
		rgba(206, 135, 142, 0.2) 16px,
		transparent 16px,
		transparent 32px
	);
}

@media (max-width: 1024px) {
	.vcc-col--summary::before {
		left: 0;
		right: 0;
		top: 0;
		bottom: auto;
		width: 100%;
		height: 1px;
		background: repeating-linear-gradient(
			to right,
			rgba(206, 135, 142, 0.2) 0,
			rgba(206, 135, 142, 0.2) 16px,
			transparent 16px,
			transparent 32px
		);
	}
}

.vcc-summary-inner {
	position: relative;
	z-index: 1;
	max-width: 100%;
	flex: 1 1 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100%;
}

.vcc-summary-bottom {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 24px;
}

@media (min-width: 1025px) {
	.vcc-summary-bottom {
		margin-top: 0;
	}
}

.vcc-totals {
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
}

.vcc-total-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 400;
	color: #f7f7f7;
}

@media (max-width: 1024px) {
	.vcc-total-row {
		font-size: 14px;
	}
}

.vcc-total-row dt {
	margin: 0;
	font-weight: inherit;
}

.vcc-total-row dd {
	margin: 0;
	font-weight: inherit;
	text-align: right;
}

.vcc-total-row--grand {
	font-weight: 700;
	margin-top: 14px;
}

/* Checkout CTA */
.vcc-checkout-btn {
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 53px;
	padding: 0 14px !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 0;
	background: #727b61 !important;
	background-color: #727b61 !important;
	color: #f7f7f7 !important;
	font-family: Montserrat, sans-serif;
	font-size: 16px !important;
	font-weight: 400 !important;
	text-decoration: none !important;
	box-shadow: 0 4px 6.1px 0 rgba(255, 255, 255, 0.25) inset !important;
	text-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	text-align: center;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.vcc-checkout-btn:hover {
	background-color: #616b4d !important;
	color: #f7f7f7 !important;
}

.vcc-checkout-btn:active,
.vcc-checkout-btn:focus {
	background-color: #4f5a39 !important;
	color: #f7f7f7 !important;
	outline: none !important;
}

@media (max-width: 1024px) {
	.vcc-checkout-btn {
		font-size: 16px !important;
	}
}

/* Footer lines */
.vcc-foot {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	font-weight: 300;
	color: #e6e7e6;
	line-height: 1.45;
}

@media (max-width: 1024px) {
	.vcc-foot {
		font-size: 12px;
	}
}

.vcc-foot-icon {
	flex: 0 0 auto;
	width: 25px;
	height: 25px;
	margin-top: 2px;
	object-fit: contain;
}

.vcc-steps-link {
	color: inherit !important;
	font-weight: 700 !important;
	text-decoration: underline !important;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color 0.15s ease;
}

.vcc-steps-link:hover,
.vcc-steps-link:focus {
	color: #e1c699 !important;
	outline: none;
}

/* Screen reader utility */
.screen-reader-text,
.vcc-size-label.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.viking-cart-wrap--empty {
	padding: 24px 0;
}
