/* Poptávka — panel u pravého okraje (neskrývá střed webu) */
.site-header,
.site-header .navbar,
.site-header-shell,
.site-header-main,
.site-header-actions {
	overflow: visible !important;
}

.cart {
	position: relative;
	display: flex;
	align-items: center;
	margin-left: 0.25rem;
	overflow: visible;
}

.cart-toggle {
	color: #0c1148;
	line-height: 1;
	border: 0;
	box-shadow: none !important;
}

.cart-toggle::after {
	margin-left: 0.35rem;
	vertical-align: 0.15em;
}

.cart-toggle:hover,
.cart-toggle:focus-visible,
.cart-toggle.show {
	color: #daa520;
}

.cart-toggle-icon {
	font-size: 1.55rem;
	line-height: 1;
	vertical-align: middle;
}

.cart-toggle-label {
	font-weight: 700;
	font-size: 0.9rem;
	color: inherit;
	vertical-align: middle;
}

@media (max-width: 575.98px) {
	.cart-toggle-label {
		display: none !important;
	}
}

.cart-toggle-badge {
	top: 0.4rem;
	left: 1.4rem;
	min-width: 1.2rem;
	padding: 0.18em 0.38em;
	font-size: 0.62rem;
	font-weight: 700;
	background-color: #daa520;
	color: #fff;
	border: 2px solid #fff;
}

/* Pravý panel — silně průhledný, text a tlačítka ostrá */
.cart-dropdown.dropdown-menu {
	--bs-dropdown-bg: transparent;
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	left: auto !important;
	bottom: 0 !important;
	z-index: 1080 !important;
	width: min(22rem, 92vw) !important;
	max-width: 22rem;
	height: 100vh !important;
	height: 100dvh !important;
	margin: 0 !important;
	padding: 0;
	inset: 0 0 0 auto !important;
	transform: none !important;
	border: 0 !important;
	border-left: 1px solid rgba(12, 17, 72, 0.18) !important;
	border-radius: 0 !important;
	background: rgba(255, 255, 255, 0.12) !important;
	background-color: rgba(255, 255, 255, 0.12) !important;
	-webkit-backdrop-filter: blur(22px) saturate(1.25) !important;
	backdrop-filter: blur(22px) saturate(1.25) !important;
	box-shadow: -10px 0 36px rgba(12, 17, 72, 0.08);
	overflow: hidden;
	color: #0c1148;
}

.cart-dropdown.dropdown-menu.show {
	display: flex !important;
	flex-direction: column;
}

.cart-dropdown > div {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
}

.cart-dropdown-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-shrink: 0;
	padding: 1rem 1rem 0.85rem;
	border-bottom: 1px solid rgba(12, 17, 72, 0.1);
	background: rgba(255, 255, 255, 0.18);
	color: #0c1148;
	font-size: 0.95rem;
}

.cart-dropdown-head-main {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.cart-dropdown-count {
	font-size: 0.78rem;
	font-weight: 600;
	color: #7e8c8d;
}

.cart-dropdown-close {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 0.4rem;
	background: transparent;
	color: #0c1148;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.cart-dropdown-close:hover,
.cart-dropdown-close:focus-visible {
	background: rgba(12, 17, 72, 0.06);
	color: #daa520;
}

.cart-dropdown-empty {
	padding: 1.5rem 1rem;
	text-align: center;
	color: #0c1148;
	background: transparent;
}

.cart-dropdown-items {
	flex: 1 1 auto;
	min-height: 0;
	max-height: none;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: transparent;
}

.cart-dropdown-item {
	display: block;
	padding: 0.45rem 0.85rem;
	border-bottom: 1px solid rgba(12, 17, 72, 0.07);
	background: rgba(255, 255, 255, 0.08);
}

.cart-dropdown-item:nth-child(even) {
	background: rgba(255, 255, 255, 0.14);
}

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

.cart-dropdown-item-body {
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
	min-width: 0;
}

.cart-dropdown-item-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.45rem;
	min-width: 0;
}

.cart-dropdown-item-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	min-width: 0;
}

.cart-dropdown-item-qtyrow {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex-shrink: 0;
}

.cart-qty-btn {
	width: 1.45rem;
	height: 1.45rem;
	padding: 0;
	border: 1px solid rgba(12, 17, 72, 0.22);
	border-radius: 0.3rem;
	background: rgba(255, 255, 255, 0.72);
	color: #0c1148;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(12, 17, 72, 0.06);
}

.cart-qty-btn:hover,
.cart-qty-btn:focus-visible {
	background: #fff;
	border-color: #daa520;
	color: #0c1148;
	box-shadow: 0 1px 4px rgba(218, 165, 32, 0.25);
}

.cart-dropdown-item-qty {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	min-width: 2.4rem;
	text-align: center;
	color: #0c1148;
	text-transform: none;
}

.cart-dropdown-item-name {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.25;
	color: #0c1148;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	word-break: break-word;
}

.cart-dropdown-item-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0;
	margin: 0;
	min-width: 0;
	text-align: right;
	color: #0c1148;
	line-height: 1.2;
}

.cart-price-exvat {
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.cart-price-note {
	font-size: 0.62rem;
	font-weight: 500;
	color: rgba(12, 17, 72, 0.55);
}

.cart-price-incvat {
	font-size: 0.66rem;
	font-weight: 500;
	color: rgba(12, 17, 72, 0.62);
	white-space: nowrap;
}

.cart-dropdown-item-name,
.cart-price-exvat,
.cart-dropdown-head strong,
.cart-dropdown-count,
.cart-dropdown-total-label,
.cart-total-exvat,
.cart-total-incvat,
.cart-dropdown-empty p {
	text-shadow:
		0 0 10px rgba(255, 255, 255, 0.95),
		0 1px 2px rgba(255, 255, 255, 0.95),
		0 0 18px rgba(255, 255, 255, 0.8);
}

/* Odebrání řádku: viditelné, ale slabší než ± a CTA */
.cart-dropdown-remove {
	flex-shrink: 0;
	width: 1.35rem;
	height: 1.35rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0.25rem;
	background: rgba(12, 17, 72, 0.05);
	color: rgba(12, 17, 72, 0.48);
	font-size: 1.05rem;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.cart-dropdown-remove:hover,
.cart-dropdown-remove:focus-visible {
	color: rgba(12, 17, 72, 0.72);
	background: rgba(12, 17, 72, 0.1);
	text-decoration: none;
}

.cart-dropdown-foot {
	flex-shrink: 0;
	margin-top: auto;
	padding: 0.85rem 1rem 1.1rem;
	border-top: 1px solid rgba(12, 17, 72, 0.1);
	background: rgba(255, 255, 255, 0.2);
}

.cart-dropdown-total {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 0.85rem;
	color: #0c1148;
}

.cart-dropdown-total-label {
	font-size: 0.82rem;
	font-weight: 700;
}

.cart-dropdown-total-rows {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.cart-dropdown-total-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.8rem;
}

.cart-dropdown-total-row span {
	color: rgba(12, 17, 72, 0.65);
}

.cart-total-exvat {
	font-size: 1rem;
	font-weight: 700;
}

.cart-dropdown-total-row--vat {
	font-size: 0.75rem;
}

.cart-total-incvat {
	font-size: 0.82rem;
	font-weight: 600;
	color: rgba(12, 17, 72, 0.78);
}

.cart-dropdown-submit {
	padding: 0.6rem 0.85rem;
	border-radius: 0.55rem;
	background: #0c1148 !important;
	border-color: #0c1148 !important;
	color: #fff !important;
	opacity: 1 !important;
	box-shadow: 0 2px 10px rgba(12, 17, 72, 0.18);
}

.cart-dropdown-submit:hover,
.cart-dropdown-submit:focus {
	background: #daa520;
	border-color: #daa520;
	color: #0c1148;
}

/* Vyprázdnění: pod CTA, čitelné, ale ne „hlavní akce“ */
.cart-dropdown-clear {
	display: block;
	width: 100%;
	margin-top: 0.7rem;
	padding: 0.25rem;
	border: 0;
	background: none;
	color: rgba(12, 17, 72, 0.42);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	text-transform: lowercase;
	cursor: pointer;
}

.cart-dropdown-clear:hover,
.cart-dropdown-clear:focus-visible {
	color: rgba(12, 17, 72, 0.65);
	text-decoration: underline;
}


.cart-dropdown.is-busy {
	/* Spinner jen dole — obsah Poptávky musí zůstat vidět */
	pointer-events: auto;
	opacity: 1;
}

.cart-dropdown-item--flash {
	animation: cart-item-flash 0.85s ease;
}

@keyframes cart-item-flash {
	0% { background: rgba(218, 165, 32, 0.35); }
	100% { background: transparent; }
}

.cart-dropdown-busy {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.65rem 1rem;
	border-top: 1px solid rgba(12, 17, 72, 0.08);
	background: rgba(255, 255, 255, 0.22);
	color: #0c1148;
	font-size: 0.82rem;
	font-weight: 600;
	flex-shrink: 0;
}

.cart-dropdown.is-busy .cart-dropdown-busy {
	display: flex;
}

.cart-dropdown-spinner {
	width: 1rem;
	height: 1rem;
	border: 2px solid rgba(12, 17, 72, 0.15);
	border-top-color: #daa520;
	border-radius: 50%;
	animation: cart-spin 0.7s linear infinite;
}

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

.swal2-container {
	z-index: 3000 !important;
}

.cart.position-fixed {
	position: static !important;
	margin-top: 0 !important;
}

.cart-offcanvas,
.offcanvas.cart-offcanvas {
	display: none !important;
}
