/*
 * Plugin-owned side-cart styles.
 *
 * These styles stay isolated to the Altera scaffold selectors while mirroring
 * the live cart drawer visual language.
 */
.altera-cart-menu {
	display: inline-flex;
}

.altera-cart-menu__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 0 !important;
	background: transparent !important;
	color: #0d1d3a;
	padding: 0;
	font-family: "Inter", sans-serif;
	cursor: pointer;
	position: relative;
	box-shadow: none !important;
}

.altera-cart-menu__toggle:hover,
.altera-cart-menu__toggle:focus,
.altera-cart-menu__toggle:active,
.altera-cart-menu__toggle:focus-visible {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

.altera-cart-menu__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 34px;
	height: 34px;
	line-height: 1;
	background: #fff;
}

.altera-cart-menu__icon svg,
.altera-cart-menu__icon img {
	display: block;
	width: 30px;
	height: 30px;
}

.altera-cart-menu__label {
	color: #0d1d3a;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2em;
}

.altera-cart-menu__count {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #0b50c8;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.altera-cart-menu__count--loading {
	color: transparent;
}

.altera-cart-menu__count--loading::after {
	content: '';
	position: absolute;
	inset: 3px;
	border: 2px solid #fff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: altera-count-spin 0.6s linear infinite;
}

@keyframes altera-count-spin {
	to { transform: rotate(360deg); }
}

.altera-cart-menu--header .altera-cart-menu__toggle {
	padding: 0;
	border-radius: 0;
}

.altera-cart-menu--header .altera-cart-menu__icon {
	width: 28px;
	height: 28px;
}

.altera-side-cart-drawer[hidden] {
	display: none;
}

.altera-side-cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
}

.altera-side-cart-drawer:not([hidden]) {
	visibility: visible;
}

body.altera-side-cart-open {
	overflow: hidden;
}

.altera-side-cart-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	opacity: 0;
	transition: opacity 260ms ease;
}

.altera-side-cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(100%, 500px);
	height: 100%;
	max-height: 100vh;
	background: #fff;
	box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
	transform: translate3d(100%, 0, 0);
	transition: transform 260ms ease;
	will-change: transform;
}

.altera-side-cart-drawer.is-open .altera-side-cart-drawer__overlay {
	opacity: 1;
}

.altera-side-cart-drawer.is-open .altera-side-cart-drawer__panel {
	transform: translate3d(0, 0, 0);
}

.altera-side-cart-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 16px 18px;
	border-bottom: 1px solid #e9e9e9;
}

.altera-side-cart-drawer__title {
	margin: 0;
	color: #000;
	font-family: "Inter", sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.altera-side-cart-drawer__title-count {
	margin-left: 0.35rem;
	color: #8f98a3;
	font-family: "Inter", sans-serif;
	font-size: 18px;
	font-weight: 400;
}

.altera-side-cart-drawer__close,
.altera-side-cart-drawer__cta,
.altera-side-cart-drawer__secondary-cta {
	font: inherit;
}

.altera-side-cart-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent !important;
	color: #434343;
	font-weight: 300;
	line-height: 1;
	opacity: 0.85;
	cursor: pointer;
	box-shadow: none !important;
	outline: none !important;
	-webkit-text-fill-color: #434343;
}

.altera-side-cart-drawer__close:hover,
.altera-side-cart-drawer__close:focus,
.altera-side-cart-drawer__close:active,
.altera-side-cart-drawer__close:focus-visible {
	opacity: 1;
	background: transparent !important;
	color: #434343 !important;
	-webkit-text-fill-color: #434343;
	box-shadow: none !important;
	outline: none !important;
	border: 0 !important;
}

.altera-side-cart-drawer__close span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: #434343 !important;
	-webkit-text-fill-color: #434343;
	opacity: 1 !important;
	transform: none;
}

.altera-side-cart-drawer__close svg {
	display: block;
	width: 34px;
	height: 34px;
}

.altera-side-cart-drawer__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 0 25px 12px;
	overflow: auto;
}

.altera-side-cart-drawer__error {
	margin: 1rem 0;
	padding: 0.75rem 0.875rem;
	border: 1px solid #e0b4b4;
	background: #fff4f4;
	color: #8a1f1f;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.4;
}

.altera-side-cart-drawer__error.is-success {
	border-color: #b7e0b7;
	background: #f2fbf2;
	color: #215c21;
}

.altera-side-cart-drawer__error.is-error {
	border-color: #e0b4b4;
	background: #fff4f4;
	color: #8a1f1f;
}

.altera-side-cart-drawer__error--coupon {
	margin: 0 0 12px;
}

.altera-side-cart-drawer__content {
	display: grid;
	gap: 0;
}

.altera-side-cart-drawer__region {
	padding: 16px 0;
	background: #fff;
}

.altera-side-cart-drawer__region--items {
	padding-top: 11px;
}

.altera-side-cart-drawer__region--items,
.altera-side-cart-drawer__region--totals {
	border: 0;
}

.altera-side-cart-drawer__region--empty {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100vh - 72px);
	padding: 72px 0 32px;
	text-align: center;
}

.altera-side-cart-drawer__region-title,
.altera-side-cart-drawer__item-title {
	margin: 0;
}

.altera-side-cart-drawer__region-text,
.altera-side-cart-drawer__empty-detail {
	margin: 6px 0 0;
	color: #8f98a3;
}

.altera-side-cart-drawer__item-list {
	display: grid;
	gap: 0;
}

.altera-side-cart-drawer__item {
	position: relative;
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr) auto;
	gap: 10px;
	padding: 17px 0 17px;
	margin-bottom: 10px;
	padding-right: 112px;
}

.altera-side-cart-drawer__item:not(:last-child) {
	border-bottom: 1px solid #e9e9e9;
}

.altera-side-cart-drawer__item-thumbnail {
	position: relative;
	width: 60px;
}

.altera-side-cart-drawer__item-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	padding: 0;
	border: 0;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: #fff;
}

.altera-side-cart-drawer__item-badge {
	position: absolute;
	top: 0;
	right: -6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #3a6ea5;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	z-index: 1;
}

.altera-side-cart-drawer__thumbnail-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	padding: 0.5rem;
	border: 1px solid #ececec;
	background: #f5f5f5;
	color: #666;
	font-size: 0.75rem;
	text-align: center;
}

.altera-side-cart-drawer__item-copy {
	display: grid;
	grid-template-rows: auto auto;
	min-width: 0;
	padding-right: 0;
}

.altera-side-cart-drawer__item-meta-block {
	padding-right: 30px;
}

.altera-side-cart-drawer__item-title {
	color: #000;
	margin: 0 0 2px;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.altera-side-cart-drawer__item-variation,
.altera-side-cart-drawer__item-variation *,
.altera-side-cart-drawer__item-variation dl,
.altera-side-cart-drawer__item-variation dd,
.altera-side-cart-drawer__item-variation p {
	margin: 0;
	color: #000;
	font-size: 12px;
	line-height: 1.3;
}

.altera-side-cart-drawer__item-variation {
	margin-top: 4px;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.altera-side-cart-drawer__item-variation dt,
.altera-side-cart-drawer__item-variation dd {
	display: inline;
	margin: 0;
}

.altera-side-cart-drawer__item-variation dt::after {
	content: ": ";
}

.altera-side-cart-drawer__item-variation dd::after {
	content: " ";
}

.altera-side-cart-drawer__shipping-timing {
	margin: 4px 0 0;
	color: #000;
	font-family: "Inter", sans-serif;
	font-size: 12px;
	line-height: 1.3;
}

.altera-side-cart-drawer__shipping-timing span {
	color: #3a6ea5;
	font-weight: 700;
}

.altera-side-cart-drawer__item-footer {
	position: absolute;
	top: 8px;
	right: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	margin-top: 0;
	max-width: none;
}

.altera-side-cart-drawer__item-controls {
	display: inline-grid;
	grid-template-columns: 26px 34px 26px;
	align-items: stretch;
	box-shadow: 0 0 0 1px #6b6b6b;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	position: relative;
	top: -5px;
}

.altera-side-cart-drawer__item-controls button.altera-side-cart-drawer__qty-button,
.altera-side-cart-drawer__item-controls .altera-side-cart-drawer__qty-input {
	height: 34px;
	padding: 0;
	border: 0;
	background: #fff !important;
	color: #666 !important;
	font: inherit;
	font-size: 18px;
	text-align: center;
}

.altera-side-cart-drawer__item-controls button.altera-side-cart-drawer__qty-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-weight: 500;
	line-height: 1;
}

.altera-side-cart-drawer__item-controls button.altera-side-cart-drawer__qty-button:hover,
.altera-side-cart-drawer__item-controls button.altera-side-cart-drawer__qty-button:focus,
.altera-side-cart-drawer__item-controls button.altera-side-cart-drawer__qty-button:active,
.altera-side-cart-drawer__item-controls button.altera-side-cart-drawer__qty-button:focus-visible {
	color: #000 !important;
	background: #fff !important;
	outline: none;
	box-shadow: none !important;
}

.altera-side-cart-drawer__item-controls button.altera-side-cart-drawer__qty-button:first-child {
	border-right: 1px solid #d8d8d8;
}

.altera-side-cart-drawer__item-controls button.altera-side-cart-drawer__qty-button:last-child {
	border-left: 1px solid #d8d8d8;
}

.altera-side-cart-drawer__item-controls .altera-side-cart-drawer__qty-input {
	width: 34px;
	appearance: textfield;
	-moz-appearance: textfield;
	box-shadow: none;
	background: #fff !important;
	font-size: 16px;
}

.altera-side-cart-drawer__qty-input::-webkit-inner-spin-button,
.altera-side-cart-drawer__qty-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.altera-side-cart-drawer__remove {
	position: static;
	order: -1;
	width: 27px;
	height: 28px;
	padding: 0;
	border: 0;
	background-color: transparent !important;
	background-image: url("data:image/svg+xml,<svg width='18' height='18' viewBox='0 0 18 18' fill='%234e4e4e' xmlns='http://www.w3.org/2000/svg'><path d='M0.730487 3.27569H2.44049L3.23609 17.2995C3.25229 17.5911 3.49349 17.8197 3.78689 17.8197H14.2233C14.5149 17.8197 14.7579 17.5911 14.7741 17.2995L15.5571 3.27569H17.2689C17.5731 3.27569 17.8197 3.02909 17.8197 2.72489C17.8197 2.42069 17.5731 2.17409 17.2689 2.17409H12.9507L12.6807 0.730487C12.6807 0.426287 12.4341 0.179688 12.1299 0.179688H5.86769C5.56349 0.179688 5.31689 0.426287 5.31689 0.730487L5.04689 2.17409H0.730487C0.426287 2.17409 0.179688 2.42069 0.179688 2.72489C0.179688 3.02909 0.426287 3.27569 0.730487 3.27569ZM6.41849 1.28309H11.5791L11.8491 2.17409H6.15029L6.41849 1.28309ZM14.4537 3.27569L13.7031 16.7181H4.30709L3.54389 3.27569H14.4537ZM6.26909 15.6849C6.27989 15.6849 6.29069 15.6849 6.30149 15.6849C6.60569 15.6669 6.83789 15.4077 6.81989 15.1035L6.24029 4.88489C6.22229 4.58069 5.95589 4.35209 5.65889 4.36649C5.35469 4.38449 5.12249 4.64369 5.14049 4.94789L5.72009 15.1647C5.73629 15.4581 5.97929 15.6849 6.26909 15.6849ZM11.6781 15.6831C11.6889 15.6831 11.6997 15.6831 11.7105 15.6831C12.0003 15.6831 12.2433 15.4563 12.2595 15.1629L12.8391 4.94609C12.8571 4.64189 12.6249 4.38089 12.3207 4.36469C12.0219 4.35209 11.7573 4.57889 11.7393 4.88489L11.1579 15.1017C11.1417 15.4059 11.3739 15.6669 11.6781 15.6831ZM8.99969 15.6849C9.30389 15.6849 9.55049 15.4383 9.55049 15.1341V4.91549C9.55049 4.61129 9.30389 4.36469 8.99969 4.36469C8.69549 4.36469 8.44889 4.61129 8.44889 4.91549V15.1341C8.44889 15.4365 8.69369 15.6849 8.99969 15.6849Z'></path></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 22px 22px;
	cursor: pointer;
	margin-bottom: 0;
	box-shadow: none !important;
	outline: none !important;
}

.altera-side-cart-drawer__remove:hover,
.altera-side-cart-drawer__remove:focus,
.altera-side-cart-drawer__remove:active,
.altera-side-cart-drawer__remove:focus-visible {
	background-color: transparent !important;
	opacity: 0.8;
	box-shadow: none !important;
	outline: none !important;
	border: 0 !important;
}

.altera-side-cart-drawer__item-amount {
	position: absolute;
	right: 0;
	bottom: 5px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
	color: #3a6ea5;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.altera-side-cart-drawer__coupon {
	margin-top: 8px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e9e9e9;
}

.altera-side-cart-drawer__coupon-toggle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 16px;
	border: 0;
	border-top: 1px solid #f0f0f0;
	background: transparent !important;
	color: #24272d !important;
	box-shadow: none !important;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	outline: none !important;
}

.altera-side-cart-drawer__coupon-toggle:hover,
.altera-side-cart-drawer__coupon-toggle:focus,
.altera-side-cart-drawer__coupon-toggle:active,
.altera-side-cart-drawer__coupon-toggle:focus-visible {
	background: transparent !important;
	color: #000 !important;
	box-shadow: none !important;
	outline: none !important;
	border: 0 !important;
	border-top: 1px solid #f0f0f0 !important;
}

.altera-side-cart-drawer__coupon-chevron {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-left: auto;
	border-right: 1.5px solid #6c6b6b;
	border-bottom: 1.5px solid #6c6b6b;
	transform: rotate(45deg);
	transition: transform 150ms ease;
	flex: 0 0 auto;
}

.altera-side-cart-drawer__coupon-toggle[aria-expanded="true"] .altera-side-cart-drawer__coupon-chevron {
	transform: rotate(-135deg);
}

.altera-side-cart-drawer__coupon-body {
	padding: 0 16px 14px;
	margin-top: 0;
	overflow: hidden;
	height: 0;
	opacity: 0;
	transition: height 360ms ease, opacity 280ms ease;
	will-change: height, opacity;
}

.altera-side-cart-drawer__coupon-body[hidden] {
	display: block;
}

.altera-side-cart-drawer__coupon-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 88px;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.altera-side-cart-drawer__coupon-row:focus-within {
	box-shadow: none;
}

.altera-side-cart-drawer__coupon-input,
.altera-side-cart-drawer__coupon-apply {
	height: 38px;
	border: 0;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.2;
}

.altera-side-cart-drawer__coupon-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0 10px;
	background: #fff !important;
	border: 1px solid #d7ddea !important;
	border-radius: 4px 0 0 4px;
	appearance: none;
	-webkit-appearance: none;
	background-clip: padding-box;
	color: #444;
	font-weight: 400;
}

.altera-side-cart-drawer__coupon-input:focus,
.altera-side-cart-drawer__coupon-input:focus-visible {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background: #fff !important;
	border: 1px solid #0047bb !important;
	outline: none;
	box-shadow: none;
}

.altera-side-cart-drawer__coupon-input::placeholder {
	color: #a0a0a0;
}

.altera-side-cart-drawer__coupon-apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #0047bb !important;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	padding: 0 16px;
	border-radius: 0 8px 8px 0;
	cursor: pointer;
	box-shadow: none;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}

.altera-side-cart-drawer__coupon-apply:hover,
.altera-side-cart-drawer__coupon-apply:focus,
.altera-side-cart-drawer__coupon-apply:focus-visible {
	background: #0047bb !important;
	color: #fff !important;
	box-shadow: none;
	outline: none;
}

.altera-side-cart-drawer__coupon-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.altera-side-cart-drawer__coupon-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 999px;
	background: #eef4ff;
	color: #0b50c8;
	font-size: 12px;
	font-weight: 600;
}

.altera-side-cart-drawer__total-row--coupon {
	padding-top: 4px;
}

.altera-side-cart-drawer__total-row--shipping {
	padding-bottom: 20px;
	border-bottom: 1px solid #e9e9e9;
}

.altera-side-cart-drawer__coupon-summary {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin-right: auto;
}

.altera-side-cart-drawer__coupon-summary-label {
	color: #24272d;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
}

.altera-side-cart-drawer__coupon-summary-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border: 1px dashed #8fdb7a;
	border-radius: 999px;
	background: #f1fde0 !important;
	color: #26a541 !important;
	cursor: pointer;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1;
	box-shadow: none !important;
}

.altera-side-cart-drawer__coupon-summary-pill:hover,
.altera-side-cart-drawer__coupon-summary-pill:focus {
	background: #f1fde0 !important;
	color: #26a541 !important;
}

.altera-side-cart-drawer__coupon-summary-code {
	font-weight: 400;
}

.altera-side-cart-drawer__coupon-summary-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: #7c8390;
	color: #fff;
	font-size: 12px;
	line-height: 1;
}

.altera-side-cart-drawer__totals-card {
	display: none;
}

.altera-side-cart-drawer__total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	padding: 10px 0;
	color: #24272d;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 700;
}

.altera-side-cart-drawer__total-label {
	margin-right: auto;
}

.altera-side-cart-drawer__total-row--footer {
	width: 100%;
	padding: 12px 0 10px;
	border-top: 0;
}

.altera-side-cart-drawer__total-amount {
	color: #7e7e7e;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2142857143;
	margin-left: auto;
	text-align: right;
	white-space: nowrap;
}

.altera-side-cart-drawer__footer {
	padding: 0;
	border-top: 0;
	margin-top: auto;
}

.altera-side-cart-drawer__footer-totals {
	display: block;
	width: 100%;
	padding: 0 16px;
}

.altera-side-cart-drawer__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 32px);
	margin: 10px 16px 0;
	padding: 15px 10px;
	border: 1px solid #0047bb;
	border-radius: 8px;
	background: #0047bb;
	color: #fff !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 150ms ease-in-out;
}

.altera-side-cart-drawer__cta:hover,
.altera-side-cart-drawer__cta:focus {
	background: #0047bb;
	border-color: #0047bb;
	color: #fff !important;
	transform: scale(1.03);
}

.altera-side-cart-drawer a.altera-side-cart-drawer__secondary-cta,
.altera-side-cart-drawer a.altera-side-cart-drawer__link {
	display: inline-block;
	width: calc(100% - 32px);
	margin: 10px 16px 16px;
	color: #24272d !important;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	transition: color 300ms ease-in-out;
}

.altera-side-cart-drawer a.altera-side-cart-drawer__secondary-cta:hover,
.altera-side-cart-drawer a.altera-side-cart-drawer__secondary-cta:focus,
.altera-side-cart-drawer a.altera-side-cart-drawer__link:hover,
.altera-side-cart-drawer a.altera-side-cart-drawer__link:focus {
	color: #24272d !important;
}

.altera-side-cart-drawer__empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 10px;
	color: #2a2a2a;
}

.altera-side-cart-drawer__empty-icon svg {
	display: block;
	width: 56px;
	height: 56px;
}

.altera-side-cart-drawer__region--empty .altera-side-cart-drawer__region-title {
	color: #24272d;
	font-family: "Inter", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.15;
	margin: 6px 0 0;
}

.altera-side-cart-drawer__region--empty .altera-side-cart-drawer__region-text {
	color: rgba(66, 66, 125, 0.75);
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	margin: 6px 0 0;
}

.altera-side-cart-drawer__empty-cta {
	display: flex;
	width: calc(100% - 16px);
	margin-left: auto;
	margin-right: auto;
	margin-top: 16px;
	border-radius: 5px;
	padding: 15px 10px;
	font-family: "Inter", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
}

.altera-side-cart-drawer--empty .altera-side-cart-drawer__panel {
	width: min(100%, 500px);
}

.altera-side-cart-drawer--empty .altera-side-cart-drawer__overlay {
	background: rgba(0, 0, 0, 0.2);
}

.altera-side-cart-drawer.is-busy .altera-side-cart-drawer__panel {
	cursor: progress;
	overflow: hidden;
}

.altera-side-cart-drawer.is-busy .altera-side-cart-drawer__panel::before {
	content: '';
	position: absolute;
	top: 0;
	left: -60%;
	width: 60%;
	height: 3px;
	background: #000;
	border-radius: 0 3px 3px 0;
	animation: altera-loading-sweep 1.4s ease-in-out infinite;
	z-index: 10;
}

@keyframes altera-loading-sweep {
	0% { left: -60%; }
	100% { left: 110%; }
}

/* All busy states: overlay + centered spinner over body content */
.altera-side-cart-drawer.is-busy .altera-side-cart-drawer__body {
	position: relative;
	overflow: hidden;
}

.altera-side-cart-drawer.is-busy .altera-side-cart-drawer__body::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.75);
	z-index: 4;
}

.altera-side-cart-drawer.is-busy .altera-side-cart-drawer__body::after {
	content: '';
	position: absolute;
	inset: 0;
	width: 40px;
	height: 40px;
	margin: auto;
	border: 3px solid rgba(0, 0, 0, 0.1);
	border-top-color: #000;
	border-radius: 50%;
	animation: altera-spin 0.8s linear infinite;
	z-index: 5;
}

@keyframes altera-spin {
	to { transform: rotate(360deg); }
}

/* Empty cart + busy: hide text, center spinner vertically */
.altera-side-cart-drawer--empty.is-busy [data-altera-cart-empty-state-region] {
	opacity: 0;
}

.altera-side-cart-drawer--empty.is-busy .altera-side-cart-drawer__body {
	display: flex;
	align-items: center;
	justify-content: center;
}


@media (max-width: 991px) {
	.altera-cart-menu__label {
		display: none;
	}

	.altera-cart-menu__toggle {
		gap: 0;
	}

	.altera-cart-menu__icon {
		width: 34px;
		height: 34px;
	}

	.altera-cart-menu__icon svg,
	.altera-cart-menu__icon img {
		width: 30px;
		height: 30px;
	}

	.altera-side-cart-drawer__title {
		font-size: 18px;
	}
}

@media (max-width: 767px) {
	.altera-side-cart-drawer__panel {
		width: min(100%, 500px);
	}

	.altera-side-cart-drawer__item {
		grid-template-columns: 60px minmax(0, 1fr) auto;
		padding-right: 112px;
	}

	.altera-side-cart-drawer__item-amount {
		top: auto;
		bottom: 5px;
	}

	.altera-side-cart-drawer__item-meta-block {
		padding-right: 30px;
	}
}

@media (max-width: 575px) {
	.altera-side-cart-drawer__panel {
		width: 100%;
	}

	.altera-side-cart-drawer__header,
	.altera-side-cart-drawer__body,
	.altera-side-cart-drawer__footer {
		padding-left: 0;
		padding-right: 0;
	}

	.altera-side-cart-drawer__body {
		padding-right: 10px;
	}

	.altera-side-cart-drawer__header {
		padding: 16px 8px;
	}

	.altera-side-cart-drawer__item {
		padding-right: 84px;
	}

	.altera-side-cart-drawer__title-count {
		font-size: 14px;
	}

	.altera-side-cart-drawer--empty .altera-side-cart-drawer__panel {
		width: 100%;
		max-width: 500px;
	}

	.altera-side-cart-drawer__region--empty {
		min-height: calc(100vh - 64px);
		padding-top: 64px;
	}

	.altera-side-cart-drawer__region--empty .altera-side-cart-drawer__region-title {
		font-size: 18px;
	}
}

@media (min-width: 461px) and (max-width: 575px) {
	.altera-side-cart-drawer__item {
		padding-bottom: 35px;
	}

	.altera-side-cart-drawer__item-amount {
		top: auto;
		bottom: 10px;
	}
}

@media (max-width: 460px) {
	.altera-side-cart-drawer__item {
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 8px;
		padding-right: 0;
		align-items: start;
	}

	.altera-side-cart-drawer__item-thumbnail {
		width: 52px;
	}

	.altera-side-cart-drawer__item-meta-block {
		padding-right: 8px;
	}

	.altera-side-cart-drawer__item-title {
		font-size: 15px;
	}

	.altera-side-cart-drawer__item-footer {
		position: static;
		grid-column: 2;
		justify-self: end;
		width: fit-content;
		margin-top: 10px;
		align-items: flex-end;
		gap: 8px;
	}

	.altera-side-cart-drawer__item-amount {
		align-self: flex-end;
		text-align: right;
		font-size: 15px;
	}
}
