/** Shopify CDN: Minification failed

Line 67:37 Comments in CSS use "/* ... */" instead of "//"
Line 219:3 Cannot use type selector "-content" directly after nesting selector "&"

**/
.cart-extra-products {
	margin-top: 56px;
}
.cart-carousel .product-form__error-message-wrapper:not([hidden]) {
  display: flex;
  align-items: flex-start;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.cart-carousel .product-form__error-message-wrapper svg {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.7rem;
  margin-top: 0.5rem;
}
.cart-carousel {
	position: relative;
	margin: 0 auto;
	max-width: 100%;
	overflow: hidden;
	display: block;

	.carousel__wrapper {
		display: flex;
		align-items: flex-start;
		position: relative;
		flex-direction: column;
		.controls__wrapper {
			position: relative;
			width: 100%;
			height: 40px;
			display: flex;
			justify-content: center;
			align-items: center;
			h3,p{
				margin:0
			}
		}
	}

	.carousel__track-container {
		overflow: hidden;
		width: 100%;
		position:relative;
	}

	.carousel__track {
		display: flex;
		transition: transform 0.5s ease-in-out;
		gap: 15px;
		padding: 5px 0;
		list-style: none;
		width: 100%;
		margin:0;
		margin-left: 15px;
	}

	.carousel__slide {
		flex: 0 0 calc((100% - 40px) / 1); // 2 gaps of 20px for 3 visible items
		box-sizing: border-box;
		@media (max-width: 1024px) {
			flex: 0 0 auto;
		}
	}

	.carousel__item {
		border-radius: 8px;
		overflow: hidden;
		width: 100%;
		display:flex;
		padding:15px;
		.select__select{
			margin-bottom:10px;
		}
		@include for-max-mobile-xl {
			width: 155px;
		}

		.image-wrapper,
		.image-hover-wrapper {
			position: relative;
			@include for-max-mobile-xl {
				width: 100%;
			}
		}

		.image-hover-wrapper img {
			position: absolute;
			top: 0;
			left: 0;
			transition: opacity 0.3s ease;
		}

		.image-hover-wrapper .hover-image {
			opacity: 0;
			z-index: 2;
		}

		.image-hover-wrapper:hover .hover-image {
			opacity: 1;
		}

		.image-hover-wrapper:hover .main-image {
			opacity: 0;
		}
	}
	.image-wrapper img{
		width:90px;
		height:auto;
	}
	.carousel__image{
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 10px;
	}

	.carousel__button {
		border: none;
		font-size: 2rem;
		padding: 0.5rem;
		cursor: pointer;
		display: flex;
		background-color: transparent;
		position:absolute;
		top:0;
		height: 100%;
		justify-content: center;
		align-content: center;
		align-items: center;
		z-index:2;
	}

	.carousel__button--prev {
		left: 0;
		&[disabled] svg path {
			fill: #e0e0e0;
		}
	}

	.carousel__button--next {
		right: 0;
		&[disabled] svg path {
			fill: #e0e0e0;
		}
	}

	.carousel__product-info {
		padding: 0;
		text-align: left;
		margin-top:0;
		width:100%;
		margin-left: 20px;
		h3,
		span {
			font-size: 16px;
			font-weight: normal;
			letter-spacing: 0;
		}
		h3 {
			font-weight: 500;
			height: auto;
			margin-top:0;
			@include for-max-mobile-xl {
				height: auto;
			}
		}
		.carousel__product-details {
			&.details__btn {
				font-size: 16px;
				text-decoration: underline;
				text-underline-offset: 4px;
				text-decoration-thickness: 1px;
				display: inline-block;
				cursor: pointer;
				margin-top: 10px;
				&:hover {
					text-decoration: none;
				}
			}
		}
	}
	.carousel__product-info span.price-item.price-item--sale,.carousel__product-info .price--on-sale .price-item--regular {
		font-size: 14px !important;
		font-weight: 500;
		line-height: 1;
	}
	.carousel__product-info .badge.badge--sale {
	display: none !important;
	}
	.carousel__item product-form.product-form{
		margin:0 !important;
	}
	.carousel__product-title {
		font-size: 1rem;
		font-weight: 600;
		margin-bottom: 0.25rem;

		flex: 1;
		display: flex;
		align-items: flex-start;
		a {
			color: inherit;
			text-decoration: none;

			&:hover {
				text-decoration: underline;
			}
		}
		&-content.gift-wrapping {
			pointer-events: none;
		}
	}

	.carousel__product-price {
		display: block;
		margin-bottom: 10px;
		font-weight: 500;
		margin-top: 10px;

		.sale-price {
			color: #e33f31;
			margin-left: 3px;
		}
	}

	.carousel__add-to-cart {
		background: white;
		color: #000;
		border: 1px solid black;
		padding: 1.3rem 1.5rem;
		cursor: pointer;
		border-radius: 10px;
		transition: background 0.3s ease;
		width: 100%;
		height: 50px;
		&:disabled {
			color: #a2a1a0;
			pointer-events: none;
			cursor: not-allowed;
			background-color: #dfdfdf;
			border: 0;
		}
		&:hover {
			background: rgba(0, 0, 0, 0.2);
			border-color: rgba(0, 0, 0, 0.2);
			color: #fff;
		}
		.loading-spinner {
			margin-left: 8px;
		}

		&.loading {
			pointer-events: none;
			opacity: 0.7;
		}
		&.product,
		&.gift-wrap {
			.loader-icon svg {
				animation: spin 1s linear infinite;
				transform-origin: center;
				path {
					stroke: #000;
				}
			}
			@keyframes spin {
				100% {
					transform: rotate(360deg);
				}
			}
		}
	}

	.carousel__add-to-cart:hover {
		background: #333;
	}
}

body.active {
	overflow: hidden;
}

.cart-item__details {
	.gift-message-display {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		flex-direction: row;
		gap: 10px;
		*:first-child {
			flex: 1 1 100%;
		}
	}

	remove-gift-message,
	edit-gift-message,
	add-gift-message {
		display: block;

		+ div dl .product-option.no-markdown-price {
			font-size: 16px;
		}
		a {
			font-size: 16px;
			text-decoration: underline;
			text-underline-offset: 4px;
			color: #000;
			outline: none;
			box-shadow: none;
		}
	}
	add-gift-message {
		margin-top: 20px;
	}
}

.cart-popup__overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.cart-popup__overlay.active {
	opacity: 1;
	pointer-events: auto;
	display: block;
}

.cart-popup {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	max-width: 400px;
	height: 100%;
	background: #fff;
	z-index: 1000;
	transform: translateX(100%);
	transition: transform 0.4s ease-in-out;
	box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
	@include for-max-mobile-xl {
		max-width: 100%;
	}
}
#gift-card-message {
	.cart-popup__header {
		margin-bottom: 20px;
	}
	.gift-message__form {
		.content-wrapper {
			margin-bottom: 15px;

			input {
				width: 100%;
				padding: 10px;
				border-radius: 10px;
				border: 1px solid #e0e0e0;
			}
		}
	}
}

.cart-popup.active {
	transform: translateX(0);

	&.gift-wrapping {
		.giftwrapping-option {
			font-size: 20px;
			text-transform: uppercase;
		}
		.cart-popup__content .cart-popup__header {
			.cart-popup__title.product {
				display: none;
				visibility: hidden;
				opacity: 0;
			}
		}
		#popup-product-description,
		#popup-product-title,
		#popup-product-image {
			display: none;
			visibility: hidden;
			opacity: 0;
		}
	}
}

.cart-popup__content {
	overflow-y: auto;
	height: 100%;
}

.cart-popup__header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 50px;
	border-bottom: 1px solid #e0e0e0;
	text-transform: uppercase;
}

.cart-popup__content > *:not(:first-child) {
	padding: 5px 25px;
}

.cart-popup__content > *:first-child {
	padding: 5px 25px;
}

.cart-popup.active.product-details {
	.cart-popup__section {
		display: none;
		visibility: hidden;
		opacity: 0;
	}
	.cart-popup__header {
		.cart-popup__title.gift {
			display: none;
			visibility: hidden;
			opacity: 0;
		}
	}
	.cart-popup__content {
		.cart-popup__header {
			padding: 5px 25px;
		}
	}
}

.cart-popup__header h2 {
	padding: 0;
	font-size: 18px;
	font-weight: 500;
	text-align: left;
	margin: 0;
}

.cart-popup__close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: transparent;
	border: none;
	font-size: 24px;
	cursor: pointer;
}

.cart-popup__title,
.cart-popup__subtitle {
	margin-top: 0;
}

.cart-popup__image {
	max-width: 100%;
	height: auto;
	margin: 10px 0;
}

.gift-message__form {
	.form-element.form-element--textarea {
		position: relative;
		.gift-message__alt-text {
			position: absolute;
			left: 0;
			bottom: 5px;
			font-size: 10px;
			padding: 15px;
			color: #777;
		}
		textarea {
			width: 100%;
			height: 150px;
			padding: 15px;
			border-radius: 10px;
			border: 1px solid #e0e0e0;

			&::placeholder {
				transition: opacity 0.2s ease;
			}
			&:focus::placeholder {
				opacity: 0;
			}
			&:focus {
				border: 1px solid #000;
			}
			&:focus-visible {
				width: 100%;
				height: 150px;
				padding: 15px;
				box-shadow: none;
				outline: none;
			}
		}
	}

	.gift-message__buttons {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
		margin-top: 15px;
		.btn {
			font-size: 16px;
			background-color: #000;
			color: #fff;
			border: 0;
			padding: 10px 20px;
			border-radius: 10px;
			flex: 1 0 45%;
			min-height: 50px;
			cursor: pointer;
			&.btn__secondary {
				background-color: transparent;
				border: 1px solid #000;
				color: #000;
			}
		}
	}
}

/* Prevent image swap hover effect on mobile */
@media (max-width: 767px) {
	cart-extra-carousel {
		.carousel__slide.no-hover .hover-image {
			display: none !important;
		}

		.carousel__slide.no-hover .main-image {
			opacity: 1 !important;
			display: block !important;
		}

		.carousel__slide.no-hover:hover .main-image {
			opacity: 1 !important;
		}

		.carousel__slide.no-hover:hover .hover-image {
			display: none !important;
		}
	}
}
