.mini-cart {
	position: absolute;
	right: 0;
	top: 110%;
	width: 550px;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 14px;
	z-index: 1000;
}

@media (max-width: 600px) {
    .mini-cart {
        width: calc(100vw - 20px);
        right: 10px;
        left: -20px;
    }
}

@media (min-width: 1000px) {
    .mini-cart {
        width: 600px;
    }
}

.mini-cart.hidden {
	display: none;
}

.mini-item {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 14px;
}

.mini-image {
    flex: 0 0 40px;
}

.mini-image img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.mini-item .left {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;              /* EZ A LÉNYEG */
	align-items: flex-start; /* balra igazítás */
}

.qty-controls {
	display: flex;
	align-items: center;
	gap: 6px;
}

.qty-btn {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	border: none;
	background: var(--purple-light);
	color: var(--purple);
	font-size: 18px;
	cursor: pointer;
}

.qty-btn:hover {
	background: var(--purple);
	color: #fff;
}

.remove-item {
	background: none;
	border: none;
	font-size: 18px;
	color: #c00;
	cursor: pointer;
}

.checkout-btn {
	display: block;
	margin-top: 10px;
	padding: 10px;
	background: var(--purple);
	color: #fff;
	text-align: center;
	border-radius: 10px;
	font-weight: 600;
}

.checkout-btn:hover {
	background: var(--purple-dark);
}


.mini-cart {
    background: #ffffff;
    color: #2d2d2d;
}

.mini-item strong {
    color: #6b4eff;
}

.mini-item .price {
    font-weight: 600;
}




.checkout-summary {
    margin-top: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f2f2f2;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkout-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.checkout-info {
    display: flex;
    flex-direction: column;
}

.checkout-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.checkout-qty {
    font-size: 14px;
    color: #666;
}

.checkout-price {
    font-weight: 700;
    font-size: 16px;
    width: 70px;
}

.add-to-cart.disabled {
    background: #e0e0e0;
    color: #888;
    cursor: not-allowed;
    opacity: 0.9;
}
