/* Related cart products — single product tabs below add to cart */
.glozin-related-cart-products {
	margin-top: 24px;
	padding: 20px 18px;
	background: #ebe1d4;
	border-top: 1px solid var(--gz-border-color, #e5e5e5);
	border-bottom: 1px solid var(--gz-border-color, #e5e5e5);
}

.glozin-related-cart-products__tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 6px;
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.glozin-related-cart-products__tab {
	background: none;
	border: none;
	padding: 0 0 4px;
	margin: 0;
	cursor: pointer;
	color: #999;
	text-transform: uppercase;
	font: inherit;
	line-height: 1.2;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}

.glozin-related-cart-products__tab:hover,
.glozin-related-cart-products__tab:focus-visible {
	color: #333;
	outline: none;
}

.glozin-related-cart-products__tab.is-active {
	color: #333;
	border-bottom-color: #333;
}

.glozin-related-cart-products__tab-sep {
	color: #bbb;
	font-weight: 400;
	user-select: none;
}

.glozin-related-cart-products__panel {
	display: none;
	align-items: flex-start;
	gap: 16px;
}

.glozin-related-cart-products__panel.is-active {
	display: flex;
}

.glozin-related-cart-products__media {
	flex: 0 0 56px;
	max-width: 56px;
}

.glozin-related-cart-products__thumb-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
	object-fit: cover;
}

.glozin-related-cart-products__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: stretch;
}

@media (min-width: 480px) {
	.glozin-related-cart-products__info {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: flex-start;
		justify-content: space-between;
		gap: 12px 16px;
	}

	.glozin-related-cart-products__title {
		flex: 0 1 auto;
		min-width: 0;
		max-width: min(280px, 42vw);
	}

	.glozin-related-cart-products__form {
		flex: 0 0 auto;
		margin-left: auto;
		align-self: center;
		min-width: 0;
	}

	.glozin-related-cart-products__form--variable {
		width: auto;
		flex: 1 1 auto;
		justify-content: flex-end;
		align-self: center;
	}
}

.glozin-related-cart-products__title {
	font-size: 13px;
	font-weight: 700;
	color: #333;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.3;
	max-width: 100%;
	overflow-wrap: anywhere;
	word-wrap: break-word;
	hyphens: auto;
}

.glozin-related-cart-products__variation-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	font-size: 13px;
}

.glozin-related-cart-products__variation-label {
	color: #555;
	font-weight: 500;
}

.glozin-related-cart-products__variation-select-wrap {
	position: relative;
	min-width: 140px;
}

.glozin-related-cart-products__variation-select {
	appearance: auto;
	max-width: 100%;
	padding: 4px 22px 4px 0;
	border: none;
	border-bottom: 1px solid #333;
	background: transparent;
	font: inherit;
	font-weight: 600;
	color: #222;
	cursor: pointer;
}

.glozin-related-cart-products__form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.glozin-related-cart-products__form--variable {
	width: 100%;
}

.glozin-related-cart-products__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid #333;
	background: transparent;
	color: #222;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	white-space: nowrap;
}

.glozin-related-cart-products__submit:hover:not(:disabled),
.glozin-related-cart-products__submit:focus-visible:not(:disabled) {
	background: #333;
	color: #fff;
	outline: none;
}

.glozin-related-cart-products__submit:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
