/**
 * SEIK Retail - multi-cart bar.
 * Inherits Flatsome / theme type. Square controls, theme primary color.
 */

.seik-multi-cart-bar,
.seik-multi-cart-bar button,
.seik-vault-modal,
.seik-vault-modal button,
.seik-vault-modal input,
.seik-vault-modal label,
.seik-vault-modal h3,
.seik-vault-modal p {
	font-family: inherit;
}

.seik-multi-cart-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin: 0 0 22px;
	padding: 0 0 16px;
	border: 0;
	border-bottom: 1px solid #e5e5e5;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	position: relative;
	z-index: 20;
	color: inherit;
}

.seik-multi-cart-left,
.seik-multi-cart-right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
}

.seik-multi-cart-label {
	margin: 0;
	font-size: 0.85em;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.2;
}

.seik-multi-cart-selector {
	position: relative;
}

.seik-cart-select-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: inherit;
	font-size: inherit;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.seik-cart-select-btn:hover,
.seik-cart-select-btn[aria-expanded="true"] {
	border-color: var(--fs-color-primary, var(--primary-color, #446084));
	background: #fff;
	color: inherit;
}

.seik-cart-select-btn .active-cart-name {
	font-weight: 600;
}

.seik-cart-select-btn .active-cart-meta {
	font-size: 0.92em;
	font-weight: 400;
	opacity: 0.75;
}

.seik-cart-select-btn .caret {
	width: 0;
	height: 0;
	margin-left: 2px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.7;
}

.seik-multi-cart-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	min-width: 320px;
	max-width: 420px;
	z-index: 30;
	overflow: hidden;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: inherit;
}

.seik-multi-cart-dropdown .dropdown-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid #e5e5e5;
	background: #fff;
	font-size: 0.85em;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.seik-multi-cart-dropdown .dropdown-header .button {
	margin: 0;
}

.seik-cart-select-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 280px;
	overflow-y: auto;
}

.seik-cart-select-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-bottom: 1px solid #eee;
	border-left: 3px solid transparent;
}

.seik-cart-select-item:last-child {
	border-bottom: 0;
}

.seik-cart-select-item:hover {
	background: #fafafa;
}

.seik-cart-select-item.is-active {
	border-left-color: var(--fs-color-primary, var(--primary-color, #446084));
	background: #fafafa;
}

.seik-cart-select-item .item-info {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex: 1;
	min-width: 0;
	cursor: pointer;
}

.seik-cart-select-item .item-name {
	font-weight: 600;
}

.seik-cart-select-item .item-meta {
	margin-left: auto;
	font-size: 0.9em;
	opacity: 0.7;
	white-space: nowrap;
}

.seik-cart-select-item .item-actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.seik-cart-select-item .action-btn {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--fs-color-primary, var(--primary-color, #446084));
	font-size: 0.85em;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.seik-cart-select-item .action-btn:hover {
	text-decoration: underline;
	background: transparent;
}

.seik-multi-cart-right .button {
	margin: 0;
}

.seik-vault-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.seik-vault-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.seik-vault-modal-dialog {
	position: relative;
	z-index: 2;
	width: 90%;
	max-width: 440px;
	overflow: hidden;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: inherit;
}

.seik-vault-modal-header,
.seik-vault-modal-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid #e5e5e5;
	background: #fff;
}

.seik-vault-modal-footer {
	justify-content: flex-end;
	border-bottom: 0;
	border-top: 1px solid #e5e5e5;
}

.seik-vault-modal-header h3 {
	margin: 0;
	font-size: 1.15em;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.seik-vault-modal-close {
	margin: 0;
	padding: 0 4px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font-size: 1.1em;
	line-height: 1;
	cursor: pointer;
}

.seik-vault-modal-body {
	padding: 16px;
	font-size: inherit;
}

.seik-vault-modal-body label {
	display: block;
	margin: 0 0 6px;
	font-weight: 600;
}

.seik-vault-modal-body input[type="text"] {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	font-size: inherit;
	line-height: 1.4;
}

.seik-vault-modal-body input[type="text"]:focus {
	border-color: var(--fs-color-primary, var(--primary-color, #446084));
	outline: none;
	box-shadow: none;
}

.seik-vault-modal-footer .button {
	margin: 0;
}

@media (max-width: 768px) {
	.seik-multi-cart-bar,
	.seik-multi-cart-left,
	.seik-multi-cart-right {
		align-items: stretch;
		width: 100%;
	}

	.seik-cart-select-btn,
	.seik-multi-cart-right .button {
		width: 100%;
		justify-content: space-between;
	}

	.seik-multi-cart-dropdown {
		width: 100%;
		min-width: 0;
	}
}
